aboutsummaryrefslogtreecommitdiffstats
path: root/view/head.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-15 18:13:41 -0800
committerfriendica <info@friendica.com>2012-02-15 18:13:41 -0800
commitb1d31aca519bf7ca99420ad99ccd9575cc24455f (patch)
tree4abf57aa87fe86fe876e688ccd10d922fa725952 /view/head.tpl
parentd05442610158eb21cd3e9b9b3cd8cd3e5d56c13c (diff)
downloadvolse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.tar.gz
volse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.tar.bz2
volse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.zip
quick comments
Diffstat (limited to 'view/head.tpl')
-rwxr-xr-xview/head.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/view/head.tpl b/view/head.tpl
index 70d830faa..2a1837088 100755
--- a/view/head.tpl
+++ b/view/head.tpl
@@ -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('&lt;','<');
+ ins = ins.replace('&gt;','>');
+ ins = ins.replace('&amp;','&');
+ ins = ins.replace('&quot;','"');
+ $("#comment-edit-text-" + id).val(tmpStr + ins);
}
function showHideComments(id) {