diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php
index b5ffd7844..bda325e5e 100644
--- a/forms/HtmlEditorField.php
+++ b/forms/HtmlEditorField.php
@@ -33,7 +33,7 @@ class HtmlEditorField extends TextareaField {
'languages' => $configObj->getOption('language')
), true);
preg_match('/src="([^"]*)"/', $tag, $matches);
- Requirements::javascript($matches[1]);
+ Requirements::javascript(html_entity_decode($matches[1]));
} else {
Requirements::javascript(MCE_ROOT . 'tiny_mce_src.js');