Fixed strikethrough bbcode
authorMarcel Werk <burntime@woltlab.com>
Sat, 1 Jun 2013 13:45:09 +0000 (15:45 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sat, 1 Jun 2013 13:45:09 +0000 (15:45 +0200)
wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js

index df3b71bcaabae5d1e1698a91ee11b59882db2b59..7f04697f9f416ea7a8d0f2d208cff8181463e77d 100644 (file)
                data = data.replace(/\[u\](.*?)\[\/u]/gi, '<u>$1</u>');
                
                // [s]
-               data = data.replace(/\[s\](.*?)\[\/s]/gi, '<strike>$1</strike>');
+               data = data.replace(/\[s\](.*?)\[\/s]/gi, '<s>$1</s>');
                
                // [sub]
                data = data.replace(/\[sub\](.*?)\[\/sub]/gi, '<sub>$1</sub>');
                html = html.replace(/<\/u>/gi, '[/u]');
                
                // [s]
-               html = html.replace(/<strike>/gi, '[s]');
-               html = html.replace(/<\/strike>/gi, '[/s]');
+               html = html.replace(/<s>/gi, '[s]');
+               html = html.replace(/<\/s>/gi, '[/s]');
                
                // [sub
                html = html.replace(/<sub>/gi, '[sub]');