https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd86ec
)
Fix overzealous quote replace
author
Hypolite Petovan
<mrpetovan@gmail.com>
Mon, 9 Jan 2017 01:25:52 +0000
(12:25 +1100)
committer
Hypolite Petovan
<mrpetovan@gmail.com>
Mon, 9 Jan 2017 01:25:52 +0000
(12:25 +1100)
view/templates/head.tpl
patch
|
blob
|
history
diff --git
a/view/templates/head.tpl
b/view/templates/head.tpl
index
3dd1bc7
..
f28f51b
100644
(file)
--- a/
view/templates/head.tpl
+++ b/
view/templates/head.tpl
@@
-104,7
+104,7
@@
ins = ins.replace("<","<");
ins = ins.replace(">",">");
ins = ins.replace("&","&");
- ins = ins.replace(""",""");
+ ins = ins.replace(""","
\
"");
$("#comment-edit-text-" + id).val(tmpStr + ins);
}
@@
-119,7
+119,7
@@
ins = ins.replace("<","<");
ins = ins.replace(">",">");
ins = ins.replace("&","&");
- ins = ins.replace(""",""");
+ ins = ins.replace(""","
\
"");
$("#comment-edit-text-" + id).val(tmpStr + ins);
$(obj).val("");
}