fix(web): fix wrong string escaping when rendering quote blocks
This commit is contained in:
parent
253e4def43
commit
dc2bae0da6
@ -26,10 +26,10 @@ function datetimeToLocalISO(datetime) {
|
||||
|
||||
function escapedString(str) {
|
||||
return str
|
||||
.replace("&", "&")
|
||||
.replace("<", "<")
|
||||
.replace(">", ">")
|
||||
.replace("\n", "<br>");
|
||||
.replaceAll("&", "&")
|
||||
.replaceAll("<", "<")
|
||||
.replaceAll(">", ">")
|
||||
.replaceAll("\n", "<br>");
|
||||
}
|
||||
|
||||
function formToJSON(form) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user