From c5950cc1ed5805a6e52193a4a35a039f04cb1d11 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 23 Feb 2015 18:04:24 +0100 Subject: [PATCH] Dropping --- wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index ebc5c2691a..eb1a6c905d 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -1376,6 +1376,9 @@ RedactorPlugins.wbbcode = function() { html = html.replace(/<\/(div|p)><\/(div|p)>/g, '

'); //html = html.replace(/<(div|p)>
<\/(div|p)>/g, '

'); + // drop + html = html.replace(/<\/?wbr[^>]*>/g, ''); + WCF.System.Event.fireEvent('com.woltlab.wcf.redactor', 'beforePaste', { html: html }); return html; -- 2.20.1