diff --git a/content/template.js b/content/template.js index 788fc096..1a070f30 100644 --- a/content/template.js +++ b/content/template.js @@ -177,7 +177,6 @@ const template = { XML.ignoreWhitespace = false; s += <>{str.substring(start, i)}; s += highlight(str.substr(i, length)); - liberator.dump(s); start = i + length; } return s + <>{str.substr(start)}; diff --git a/content/ui.js b/content/ui.js index f5cf01ae..6bf3394a 100644 --- a/content/ui.js +++ b/content/ui.js @@ -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(
{template.maybeXML(str)}
, doc); XML.ignoreWhitespace = true;