[Commits] [wesnoth/wesnoth] 0d2635: fix an issue with text not properly formatted in l...

GitHub noreply at github.com
Fri Oct 7 23:05:03 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0d2635c20a6d3c25e49a9a780c888c80a9eed3ff
      https://github.com/wesnoth/wesnoth/commit/0d2635c20a6d3c25e49a9a780c888c80a9eed3ff
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M src/gui/dialogs/lua_interpreter.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  fix an issue with text not properly formatted in lua console

gfgtdf noticed that sometimes, if lua generates text or error messages
which looks like pango formatting, it breaks the markup in the lua
console. the problem was that each unit of text generated by lua
needs to be run individually throw font::escape_text. We identified
the problem but for whatever reason didn't fix it back then, and
put a fixme note instead. This is a proper patch that fixes the issue.





More information about the Commits mailing list