From: Marcel Werk Date: Sat, 15 Oct 2016 14:06:30 +0000 (+0200) Subject: Fixed newlines in converted bbcode messages X-Git-Tag: 3.0.0_Beta_3~40 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e7e113ec3c84c08f27d1621baac47c1fe32d0b2b;p=GitHub%2FWoltLab%2FWCF.git Fixed newlines in converted bbcode messages --- diff --git a/wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php b/wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php index 26fbcb370b..a17539ee31 100644 --- a/wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php +++ b/wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php @@ -199,7 +199,7 @@ class HtmlInputProcessor extends AbstractHtmlProcessor { // ignore two newline because a new paragraph with bbcodes is created // using two subsequent newlines - $newlines -= 2; + $newlines -= 1; if ($newlines === 0) { continue; }