mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 19:12:26 +01:00
Fix some brokenness
This commit is contained in:
@@ -208,9 +208,14 @@ liberator.CommandLine = function () //{{{
|
||||
let doc = multilineOutputWidget.contentDocument;
|
||||
let win = multilineOutputWidget.contentWindow;
|
||||
|
||||
XML.ignoreWhitespace = false;
|
||||
/* If it's already XML, assume it knows what it's doing.
|
||||
* Otherwise, white space is significant.
|
||||
* The problem elsewhere is that E4X tends to insert new lines
|
||||
* after interpolated data.
|
||||
*/
|
||||
XML.ignoreWhitespace = typeof str == "xml";
|
||||
var output = <div class={"ex-command-output " + highlightGroup}>{liberator.template.maybeXML(str)}</div>;
|
||||
XML.ignoreWhitespace = true;
|
||||
XML.ignoreWhiteSpace = true;
|
||||
|
||||
lastMowOutput = output;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user