1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 16:32:27 +01:00

Fix some brokenness

This commit is contained in:
Kris Maglione
2008-10-04 05:37:57 +00:00
parent 1891746b9e
commit ce06d55415

View File

@@ -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;