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:
@@ -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>" +
|
||||
|
||||
Reference in New Issue
Block a user