diff --git a/ghost/admin/helpers/gh-format-html.js b/ghost/admin/helpers/gh-format-html.js index 436a6e7960..ce92b9a6b4 100644 --- a/ghost/admin/helpers/gh-format-html.js +++ b/ghost/admin/helpers/gh-format-html.js @@ -6,9 +6,9 @@ var formatHTML = Ember.Handlebars.makeBoundHelper(function (html) { // replace script and iFrame escapedhtml = escapedhtml.replace(/)<[^<]*)*<\/script>/gi, - '
Embedded JavaScript
'); + '
Embedded JavaScript
'); escapedhtml = escapedhtml.replace(/)<[^<]*)*<\/iframe>/gi, - '
Embedded IFrame
'); + '
Embedded iFrame
'); // sanitize HTML escapedhtml = html_sanitize(escapedhtml, cajaSanitizers.url, cajaSanitizers.id);