single tick fix
This commit is contained in:
@@ -125,8 +125,7 @@ class UserCommentSystem {
|
||||
safe = safe
|
||||
.replace(/&/g, "&")
|
||||
.replace(/</g, "<")
|
||||
.replace(/"/g, """)
|
||||
.replace(/'/g, "'");
|
||||
.replace(/"/g, """);
|
||||
|
||||
const renderer = new marked.Renderer();
|
||||
renderer.blockquote = function (quote) {
|
||||
@@ -179,9 +178,8 @@ class UserCommentSystem {
|
||||
return unsafe
|
||||
.replace(/&/g, "&")
|
||||
.replace(/</g, "<")
|
||||
.replace(/>/g, ">")
|
||||
.replace(/"/g, """)
|
||||
.replace(/'/g, "'");
|
||||
.replace(/>/g, ">");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user