mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 18:15:46 +01:00
add vimperator.util.escapeHTML
This commit is contained in:
@@ -287,9 +287,9 @@ function Mappings() //{{{
|
||||
for (var j = 0; j < maps[i].names.length; j++)
|
||||
{
|
||||
list += "<tr>";
|
||||
list += "<td> " + maps[i].names[j].replace(/</g, "<").replace(/>/g, ">") + "</td>"
|
||||
list += "<td> " + vimperator.util.escapeHTML(maps[i].names[j]) + "</td>"
|
||||
if (maps[i].rhs)
|
||||
list += "<td> " + maps[i].rhs.replace(/</g, "<").replace(/>/g, ">") + "</td>"
|
||||
list += "<td> " + vimperator.util.escapeHTML(maps[i].rhs) + "</td>"
|
||||
list += "</tr>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user