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) {
|
function escapedString(str) {
|
||||||
return str
|
return str
|
||||||
.replace("&", "&")
|
.replaceAll("&", "&")
|
||||||
.replace("<", "<")
|
.replaceAll("<", "<")
|
||||||
.replace(">", ">")
|
.replaceAll(">", ">")
|
||||||
.replace("\n", "<br>");
|
.replaceAll("\n", "<br>");
|
||||||
}
|
}
|
||||||
|
|
||||||
function formToJSON(form) {
|
function formToJSON(form) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user