From 9ebe2d27b3931256a85e6ee1e6377904e3ed4b52 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 22 Feb 2015 12:08:07 +0100 Subject: [PATCH] Fixed table sanitizing not applied to all tables --- .../install/files/js/3rdParty/redactor/plugins/wbbcode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index b4d18c8ca9..144ecb840a 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -315,8 +315,8 @@ RedactorPlugins.wbbcode = function() { html = html.replace(/]*?><\/a>/g, ''); // unwrap

- html = html.replace(/

<\/p>

<\/p>/, '

'); + html = html.replace(/

<\/p>

<\/p>/g, '

'); // handle empty paragraphs not followed by an empty one html = html.replace(/

<\/p>

(?!
)/g, '

@@@wcf_empty_line@@@

'); -- 2.20.1