Fixed newlines in converted bbcode messages
authorMarcel Werk <burntime@woltlab.com>
Sat, 15 Oct 2016 14:06:30 +0000 (16:06 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sat, 15 Oct 2016 14:06:38 +0000 (16:06 +0200)
wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php

index 26fbcb370b14ccb2f22b499646b966f4a3ab7a87..a17539ee31a0a5890942bc32cf2c18fcaa3424ad 100644 (file)
@@ -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;
                                        }