From: friendica Date: Mon, 26 Mar 2012 23:56:44 +0000 (-0700) Subject: translate br with extra elements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=03b95c9a091920d0796f7835afc762d09971ab32;p=friendica.git translate br with extra elements --- diff --git a/library/mcefixes/plugins.bbcode.editor_plugin_src.js b/library/mcefixes/plugins.bbcode.editor_plugin_src.js index 183f2bc68d..a2829a21c1 100755 --- a/library/mcefixes/plugins.bbcode.editor_plugin_src.js +++ b/library/mcefixes/plugins.bbcode.editor_plugin_src.js @@ -150,7 +150,7 @@ rep(/]*>/gi,"[quote]"); rep(/<\/blockquote>/gi,"[/quote]"); rep(/
/gi,"[hr]"); - rep(/
/gi,"\n\n"); + rep(/
/gi,"\n\n"); rep(//gi,"\n\n"); rep(/
/gi,"\n"); rep(/

/gi,""); diff --git a/library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js b/library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js index 183f2bc68d..a2829a21c1 100644 --- a/library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +++ b/library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js @@ -150,7 +150,7 @@ rep(/]*>/gi,"[quote]"); rep(/<\/blockquote>/gi,"[/quote]"); rep(/


/gi,"[hr]"); - rep(/
/gi,"\n\n"); + rep(/
/gi,"\n\n"); rep(//gi,"\n\n"); rep(/
/gi,"\n"); rep(/

/gi,"");