Redactor excepts `<em>` instead of `<i>`
authorAlexander Ebert <ebert@woltlab.com>
Tue, 6 Jan 2015 19:32:54 +0000 (20:32 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 6 Jan 2015 19:32:54 +0000 (20:32 +0100)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index e406a761da636debb24d5973d26dbcb346759e21..cd331611ffdd331442de1a9628924c0f9333b55d 100644 (file)
@@ -715,7 +715,7 @@ RedactorPlugins.wbbcode = function() {
                        data = data.replace(/\[b\]([\s\S]*?)\[\/b]/gi, '<b>$1</b>');
                        
                        // [i]
-                       data = data.replace(/\[i\]([\s\S]*?)\[\/i]/gi, '<i>$1</i>');
+                       data = data.replace(/\[i\]([\s\S]*?)\[\/i]/gi, '<em>$1</em>');
                        
                        // [u]
                        data = data.replace(/\[u\]([\s\S]*?)\[\/u]/gi, '<u>$1</u>');