From 86af9f56d2241d16600b4f35d5e717b479424407 Mon Sep 17 00:00:00 2001
From: Alexander Ebert
Date: Thu, 19 Feb 2015 18:05:38 +0100
Subject: [PATCH] Removed debug code
---
.../install/files/js/3rdParty/redactor/plugins/wbbcode.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js
index 727dc6048c..f91083bca7 100644
--- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js
+++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js
@@ -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
right in front of
(does not match
since it has been converted already)
html = html.replace(/
<\/p>/g, '');
- console.debug(html);
+
// convert paragraphs into single lines
var $parts = html.split(/(<\/?(?:div|p)>)/);
var $tmp = '';
--
2.20.1