mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
TinyMCE tweaks from skeltoac. fixes #1852
git-svn-id: https://develop.svn.wordpress.org/trunk@3015 602fd350-edb4-49c9-b593-d223f7449a82
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