mirror of
https://github.com/cnodejs/nodeclub.git
synced 2026-02-01 16:34:28 +00:00
dont escape \"
This commit is contained in:
parent
d5cf298858
commit
15c0902eed
@ -46,6 +46,6 @@ exports.escape = function(html){
|
||||
return String(html)
|
||||
.replace(/&(?!\w+;)/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/"/g, '"');
|
||||
.replace(/>/g, '>');
|
||||
// .replace(/"/g, '"');
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user