diff --git a/common/content/ui.js b/common/content/ui.js
index a14b48c2..d0ec7e2a 100644
--- a/common/content/ui.js
+++ b/common/content/ui.js
@@ -826,11 +826,9 @@ function CommandLine() //{{{
}
else if (messageHistory.length > 1)
{
- let list = <>>;
-
- for (let [,message] in Iterator(messageHistory.messages))
- list +=
{message.str}
;
-
+ XML.ignoreWhitespace = false;
+ let list = template.map(messageHistory.messages, function (message)
+ {message.str}
);
liberator.echo(list, commandline.FORCE_MULTILINE);
}
},
@@ -948,6 +946,8 @@ function CommandLine() //{{{
highlightGroup = highlightGroup || this.HL_NORMAL;
+ // liberator.dump(String(str));
+ // try { liberator.dump(str.toXMLString()) } catch(e) {};
if (flags & this.APPEND_TO_MESSAGES)
messageHistory.add({ str: str, highlight: highlightGroup });
@@ -1101,8 +1101,7 @@ function CommandLine() //{{{
else if (key == "")
{
// reset the tab completion
- history.reset();
- completions.reset();
+ this.resetCompletions();
// and blur the command line if there is no text left
if (command.length == 0)
diff --git a/vimperator/regressions.js b/vimperator/regressions.js
index cd9cc584..0c89171c 100644
--- a/vimperator/regressions.js
+++ b/vimperator/regressions.js
@@ -167,8 +167,10 @@ commands.addUserCommand(["regr[essions]"],
}
let runTests = (args.count >= 1 ? 1 : totalTests) - skippedTests;
+ XML.ignoreWhitespace = false;
liberator.echomsg(<>{successfulTests} of {runTests}
- tests successfully completed ({skippedTests} tests skipped) in {((Date.now() - now) / 1000.0)} msec>);
+ tests successfully completed ({skippedTests} tests skipped) in
+ {((Date.now() - now) / 1000.0)} msec>);
liberator.execute(":messages");
}