X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fhead.tpl;h=f606f2f7e2dde6a0bdff17a11e9a9c4e19f1a4bf;hb=a26ce7c56b91defccf0b222c9c9481d4b05f3c8d;hp=70d830faa784956087eb9f99ff8b1bd804b01309;hpb=03171fd7deeb8e564478273ebdbee77eeab4a6cd;p=friendica.git diff --git a/view/head.tpl b/view/head.tpl index 70d830faa7..f606f2f7e2 100755 --- a/view/head.tpl +++ b/view/head.tpl @@ -11,10 +11,10 @@ + title="Search in Friendica" /> @@ -55,7 +55,12 @@ $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty"); openMenu("comment-edit-submit-wrapper-" + id); } - $("#comment-edit-text-" + id).val(tmpStr + $(obj).html()); + var ins = $(obj).html(); + ins = ins.replace('<','<'); + ins = ins.replace('>','>'); + ins = ins.replace('&','&'); + ins = ins.replace('"','"'); + $("#comment-edit-text-" + id).val(tmpStr + ins); } function showHideComments(id) {