diff options
author | friendica <info@friendica.com> | 2012-02-15 18:13:41 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-15 18:13:41 -0800 |
commit | b1d31aca519bf7ca99420ad99ccd9575cc24455f (patch) | |
tree | 4abf57aa87fe86fe876e688ccd10d922fa725952 /view/head.tpl | |
parent | d05442610158eb21cd3e9b9b3cd8cd3e5d56c13c (diff) | |
download | volse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.tar.gz volse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.tar.bz2 volse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.zip |
quick comments
Diffstat (limited to 'view/head.tpl')
-rwxr-xr-x | view/head.tpl | 7 |
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('<','<'); + ins = ins.replace('>','>'); + ins = ins.replace('&','&'); + ins = ins.replace('"','"'); + $("#comment-edit-text-" + id).val(tmpStr + ins); } function showHideComments(id) { |