diff options
author | friendica <info@friendica.com> | 2012-03-26 16:56:44 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-26 16:56:44 -0700 |
commit | 03b95c9a091920d0796f7835afc762d09971ab32 (patch) | |
tree | f1ae32b242727a080da2d1f9a8d8a071d6639241 /library/mcefixes/plugins.bbcode.editor_plugin_src.js | |
parent | 70cc2fff6f6dfc2dc0b8aef195df84d7385bb9df (diff) | |
download | volse-hubzilla-03b95c9a091920d0796f7835afc762d09971ab32.tar.gz volse-hubzilla-03b95c9a091920d0796f7835afc762d09971ab32.tar.bz2 volse-hubzilla-03b95c9a091920d0796f7835afc762d09971ab32.zip |
translate br with extra elements
Diffstat (limited to 'library/mcefixes/plugins.bbcode.editor_plugin_src.js')
-rwxr-xr-x | library/mcefixes/plugins.bbcode.editor_plugin_src.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/mcefixes/plugins.bbcode.editor_plugin_src.js b/library/mcefixes/plugins.bbcode.editor_plugin_src.js index 183f2bc68..a2829a21c 100755 --- a/library/mcefixes/plugins.bbcode.editor_plugin_src.js +++ b/library/mcefixes/plugins.bbcode.editor_plugin_src.js @@ -150,7 +150,7 @@ rep(/<blockquote[^>]*>/gi,"[quote]");
rep(/<\/blockquote>/gi,"[/quote]");
rep(/<hr \/>/gi,"[hr]");
- rep(/<br \/>/gi,"\n\n");
+ rep(/<br (.*?)\/>/gi,"\n\n");
rep(/<br\/>/gi,"\n\n");
rep(/<br>/gi,"\n");
rep(/<p>/gi,"");
|