Preserving the URL-encoded space (%20)
authorAlexander Ebert <ebert@woltlab.com>
Fri, 30 May 2014 10:15:13 +0000 (12:15 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 30 May 2014 10:15:13 +0000 (12:15 +0200)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index cc615d81615b953fdac44c107474c93a89600e08..2ec03941e9619cfc0dbebe42c5fe61c253d8f660 100644 (file)
@@ -353,7 +353,7 @@ RedactorPlugins.wbbcode = {
                html = html.replace(/%29/g, ')');
                
                // Restore %20
-               html = html.replace(/%20/g, ' ');
+               //html = html.replace(/%20/g, ' ');
                
                // cache source code tags to preserve leading tabs
                var $cachedCodes = { };