witten
/
luminotes
Archived
1
0
Fork 0

Editor.normalize_html() now handles an empty/null html parameter.

This commit is contained in:
Dan Helfman 2008-05-18 01:22:00 -07:00
parent 99c32fa120
commit f418027f54
1 changed files with 2 additions and 0 deletions

View File

@ -718,6 +718,8 @@ Editor.prototype.summarize = function () {
// return the given html in a normal form. this makes html string comparisons more accurate
normalize_html = function ( html ) {
if ( !html ) return html;
// remove any "pulldown" attributes, which get added in IE whenever link.pulldown is set
var normal_html = html.replace( /\s+pulldown="null"/g, "" );