aboutsummaryrefslogtreecommitdiffstats
path: root/library/tinymce
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-13 18:23:03 -0800
committerfriendica <info@friendica.com>2012-02-13 18:40:28 -0800
commit803a7425eaff955bd0001b46ee7f22c5d80acb89 (patch)
tree96290b4286b358945c951afee3820ce61f146c79 /library/tinymce
parentc87aa8f9276652e28dd8c77babe1b4a27cee566c (diff)
downloadvolse-hubzilla-803a7425eaff955bd0001b46ee7f22c5d80acb89.tar.gz
volse-hubzilla-803a7425eaff955bd0001b46ee7f22c5d80acb89.tar.bz2
volse-hubzilla-803a7425eaff955bd0001b46ee7f22c5d80acb89.zip
make hr bbtag shareable, stray quote in duepuntozero wall_item
Diffstat (limited to 'library/tinymce')
-rwxr-xr-xlibrary/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js2
1 files changed, 2 insertions, 0 deletions
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 b8a3abb31..e5f716b29 100755
--- a/library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
+++ b/library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
@@ -105,6 +105,7 @@
rep(/<u>/gi,"[u]");
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");
@@ -135,6 +136,7 @@
rep(/\[\/i\]/gi,"</em>");
rep(/\[u\]/gi,"<u>");
rep(/\[\/u\]/gi,"</u>");
+ rep(/\[hr\]/gi,"<hr />");
rep(/\[bookmark=([^\]]+)\](.*?)\[\/bookmark\]/gi,"<a class=\"bookmark\" href=\"$1\">$2</a>");
rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"<a href=\"$1\">$2</a>");
rep(/\[url\](.*?)\[\/url\]/gi,"<a href=\"$1\">$1</a>");