Skip to content
Permalink
Browse files

Added iframe, object and applet to closingTags list

in needsClosingTag function
  • Loading branch information...
julmis
julmis committed Apr 28, 2005
1 parent c39748f commit c223e47712637ec6c30dec868ea5e2bfcbf1a86c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/editor/htmlarea.php
@@ -2216,7 +2216,7 @@ function getMozSelection(txtarea) {
};

HTMLArea.needsClosingTag = function(el) {
var closingTags = " head script style div span tr td tbody table em strong font a title ";
var closingTags = " head script style div span tr td tbody table em strong font a title iframe object applet ";
return (closingTags.indexOf(" " + el.tagName.toLowerCase() + " ") != -1);
};

0 comments on commit c223e47

Please sign in to comment.
You can’t perform that action at this time.