From: Alexander Ebert Date: Sun, 20 Aug 2017 14:33:31 +0000 (+0200) Subject: Fixed newline handling for centered content inside tables X-Git-Tag: 3.1.0_Alpha_3~4^2~9^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cd474238cb80f2e784ff571df1666e51f3e87a90;p=GitHub%2FWoltLab%2FWCF.git Fixed newline handling for centered content inside tables --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index d8b768a2b8..edfeafe41d 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -1260,7 +1260,7 @@ RedactorPlugins.wbbcode = function() { if ($line.match(/<\/p>$/) && ($i + 1 < $length)) { data += $line; - if ($.trim($tmp[$i + 1]).indexOf('