1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 08:17:58 +01:00

escape ex command stings prepended to the MOW output

This commit is contained in:
Doug Kearns
2007-10-06 02:05:38 +00:00
parent 2d1152cef9
commit 0a218107ce
4 changed files with 7 additions and 7 deletions

View File

@@ -1442,7 +1442,7 @@ function Commands() //{{{
var total = "<td> Total time:</td><td align=\"right\"><span style=\"color: red\">" +
(after_time - before_time) + "</span></td><td>msec</td>";
var str = ":" + vimperator.commandline.getCommand() + "<br/>" +
var str = ":" + vimperator.util.escapeHTML(vimperator.commandline.getCommand()) + "<br/>" +
"<table>" +
"<tr align=\"left\" class=\"hl-Title\"><th colspan=\"3\">Code execution summary</th></tr>" +
"<tr><td> Executed:</td><td align=\"right\"><span style=\"color: green\">" + count + "</span></td><td>times</td></tr>" +