Browse Source

translate br with extra elements

pull/175/merge
friendica 10 years ago
parent
commit
03b95c9a09
  1. 2
      library/mcefixes/plugins.bbcode.editor_plugin_src.js
  2. 2
      library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js

2
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,"");

2
library/tinymce/jscripts/tiny_mce/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,"");

Loading…
Cancel
Save