mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-29 19:05:46 +01:00
Fix eating of white space in highlighted strings in the MOW
This commit is contained in:
@@ -378,7 +378,7 @@ function CommandLine() //{{{
|
||||
* The problem elsewhere is that E4X tends to insert new lines
|
||||
* after interpolated data.
|
||||
*/
|
||||
XML.ignoreWhitespace = typeof str == "xml";
|
||||
XML.ignoreWhitespace = typeof str != "xml";
|
||||
let output = util.xmlToDom(<div class={"ex-command-output "} highlight={highlightGroup}>{template.maybeXML(str)}</div>, doc);
|
||||
XML.ignoreWhitespace = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user