From 03b95c9a091920d0796f7835afc762d09971ab32 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 26 Mar 2012 16:56:44 -0700 Subject: [PATCH] translate br with extra elements --- library/mcefixes/plugins.bbcode.editor_plugin_src.js | 2 +- .../jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js | 2 +- 2 files changed, 2 insertions(+), 2 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(/]*>/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 183f2bc68..a2829a21c 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,"");