mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 10:47:57 +01:00
add vimperator.util.escapeHTML
This commit is contained in:
@@ -406,7 +406,7 @@ const vimperator = (function() //{{{
|
||||
{
|
||||
var str = value.toString();
|
||||
if (typeof str == "string") // can be "undefined"
|
||||
value = str.replace(/</g, "<").replace(/>/g, ">");
|
||||
value = vimperator.util.escapeHTML(str);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user