aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Dröscher <dhn2@users.sourceforge.net>2006-10-26 12:20:55 +0000
committerDominik Dröscher <dhn2@users.sourceforge.net>2006-10-26 12:20:55 +0000
commit0b838cec29b4e20c3dba0269574f220ac0a1c13e (patch)
tree8614fb0e4b0ee82d9be98bc79cb7dea2301b5b47
parentb3999023572f9fd640e5605b8ebc46b089e0e088 (diff)
downloadforums-0b838cec29b4e20c3dba0269574f220ac0a1c13e.tar
forums-0b838cec29b4e20c3dba0269574f220ac0a1c13e.tar.gz
forums-0b838cec29b4e20c3dba0269574f220ac0a1c13e.tar.bz2
forums-0b838cec29b4e20c3dba0269574f220ac0a1c13e.tar.xz
forums-0b838cec29b4e20c3dba0269574f220ac0a1c13e.zip
#4802
git-svn-id: file:///svn/phpbb/trunk@6530 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/styles/subSilver/template/editor.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/styles/subSilver/template/editor.js b/phpBB/styles/subSilver/template/editor.js
index 910e87b74a..5ce917d1b2 100644
--- a/phpBB/styles/subSilver/template/editor.js
+++ b/phpBB/styles/subSilver/template/editor.js
@@ -201,6 +201,9 @@ function addquote(post_id, username)
{
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
theSelection = theSelection.replace(/<br\/>/ig, '\n');
+ theSelection = theSelection.replace(/&lt\;/ig, '<');
+ theSelection = theSelection.replace(/&gt\;/ig, '>');
+ theSelection = theSelection.replace(/&amp\;/ig, '&');
}
else if (document.all)
{