Fix tab/newline stripping in dialogs not inserting a space to replace a run of newlines

This commit is contained in:
2014-12-16 23:14:02 -05:00
parent 045e49543c
commit d409c8b616
2 changed files with 40 additions and 19 deletions

View File

@@ -271,10 +271,9 @@ Whitespace
Whitespace collapse rules within Dialog XML elements are a little weird.
All tabs are stripped out, and then runs of newlines are replaced with a
single space, but runs of spaces are left as-is.
Note: Currently, the runs of newlines are simply removed rather than
replaced with a space. This needs to be fixed.
single space, but runs of spaces are left as-is. Thus, you can use spaces
to do things like forcing indentation, while tabs can serve to indent
the XML itself.
Implementing a Dialog
=====================