]> git.mxchange.org Git - friendica.git/blobdiff - library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
make hr bbtag shareable, stray quote in duepuntozero wall_item
[friendica.git] / library / tinymce / jscripts / tiny_mce / plugins / bbcode / editor_plugin_src.js
index b8a3abb314a9e482d989a58079ae25ead1f7ab85..e5f716b297e6cb58e494c2d29b9c341e4939041f 100755 (executable)
                        rep(/<u>/gi,"[u]");\r
                        rep(/<blockquote[^>]*>/gi,"[quote]");\r
                        rep(/<\/blockquote>/gi,"[/quote]");\r
+                       rep(/<hr \/>/gi,"[hr]");\r
                        rep(/<br \/>/gi,"\n\n");\r
                        rep(/<br\/>/gi,"\n\n");\r
                        rep(/<br>/gi,"\n");\r
                        rep(/\[\/i\]/gi,"</em>");\r
                        rep(/\[u\]/gi,"<u>");\r
                        rep(/\[\/u\]/gi,"</u>");\r
+                       rep(/\[hr\]/gi,"<hr />");
                        rep(/\[bookmark=([^\]]+)\](.*?)\[\/bookmark\]/gi,"<a class=\"bookmark\" href=\"$1\">$2</a>");\r
                        rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"<a href=\"$1\">$2</a>");\r
                        rep(/\[url\](.*?)\[\/url\]/gi,"<a href=\"$1\">$1</a>");\r