aboutsummaryrefslogtreecommitdiffstats
path: root/library/mcefixes/plugins.bbcode.editor_plugin_src.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/mcefixes/plugins.bbcode.editor_plugin_src.js')
-rw-r--r--[-rwxr-xr-x]library/mcefixes/plugins.bbcode.editor_plugin_src.js2
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..100644
--- 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,"");