Redactor expects <strong> instead of <b>
authorAlexander Ebert <ebert@woltlab.com>
Tue, 20 Jan 2015 18:28:44 +0000 (19:28 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 20 Jan 2015 18:28:44 +0000 (19:28 +0100)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index b92346a338c3800f48981f41275f3669fbe53f06..026592f074265e93d893f7ae866b5e739390e2c7 100644 (file)
@@ -732,7 +732,7 @@ RedactorPlugins.wbbcode = function() {
                        data = data.replace(/\[email\=([^"\]]+)](.+?)\[\/email]/gi, '<a href="mailto:$1">$2</a>' + this.opts.invisibleSpace);
                        
                        // [b]
-                       data = data.replace(/\[b\]([\s\S]*?)\[\/b]/gi, '<b>$1</b>');
+                       data = data.replace(/\[b\]([\s\S]*?)\[\/b]/gi, '<strong>$1</strong>');
                        
                        // [i]
                        data = data.replace(/\[i\]([\s\S]*?)\[\/i]/gi, '<em>$1</em>');