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(/
/ig, '\n');
theSelection = theSelection.replace(/
/ig, '\n');
+ theSelection = theSelection.replace(/<\;/ig, '<');
+ theSelection = theSelection.replace(/>\;/ig, '>');
+ theSelection = theSelection.replace(/&\;/ig, '&');
}
else if (document.all)
{