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:
ryan
2005-11-08 19:17:08 +00:00
parent 4e2d4a842f
commit 6705b20ff7
7 changed files with 53 additions and 29 deletions

View File

@@ -190,6 +190,9 @@ function TinyMCE_wordpress_cleanup(type, content) {
}
}
// The Curse of the Trailing <br />
content = content.replace(new RegExp('<br ?/?>[ \t]*$', ''), '');
break;
}

View File

@@ -190,6 +190,9 @@ function TinyMCE_wordpress_cleanup(type, content) {
}
}
// The Curse of the Trailing <br />
content = content.replace(new RegExp('<br ?/?>[ \t]*$', ''), '');
break;
}