Added iframe, object and applet to closingTags list
in needsClosingTag function
This commit is contained in:
@@ -2216,7 +2216,7 @@ HTMLArea.isBlockElement = function(el) {
|
||||
};
|
||||
|
||||
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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user