TinyMCE tweaks from skeltoac. fixes #1852
git-svn-id: http://svn.automattic.com/wordpress/trunk@3015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -190,6 +190,9 @@ function TinyMCE_wordpress_cleanup(type, content) {
|
||||
}
|
||||
}
|
||||
|
||||
// The Curse of the Trailing <br />
|
||||
content = content.replace(new RegExp('<br ?/?>[ \t]*$', ''), '');
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -190,6 +190,9 @@ function TinyMCE_wordpress_cleanup(type, content) {
|
||||
}
|
||||
}
|
||||
|
||||
// The Curse of the Trailing <br />
|
||||
content = content.replace(new RegExp('<br ?/?>[ \t]*$', ''), '');
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user