Removed debug code
authorAlexander Ebert <ebert@woltlab.com>
Thu, 19 Feb 2015 17:05:38 +0000 (18:05 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 19 Feb 2015 17:05:38 +0000 (18:05 +0100)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index 727dc6048cb3d95cd811245163c27373fcc34fe7..f91083bca7a8e464735bc955ff6150d94045463a 100644 (file)
@@ -230,8 +230,7 @@ RedactorPlugins.wbbcode = function() {
                 */
                convertFromHtml: function(html) {
                        WCF.System.Event.fireEvent('com.woltlab.wcf.redactor', 'beforeConvertFromHtml', { html: html });
-                       console.debug(html);
-                       console.debug("");
+                       
                        // remove data-redactor-tag="" attribute
                        html = html.replace(/(<[^>]+?) data-redactor-tag="[^"]+"/g, '$1');
                        
@@ -286,7 +285,7 @@ RedactorPlugins.wbbcode = function() {
                        
                        // remove <br> right in front of </p> (does not match <p><br></p> since it has been converted already)
                        html = html.replace(/<br( \/)?><\/p>/g, '</p>');
-                       console.debug(html);
+                       
                        // convert paragraphs into single lines
                        var $parts = html.split(/(<\/?(?:div|p)>)/);
                        var $tmp = '';