Added an additional line-break after quotes in simplified-html mode
authorMarcel Werk <burntime@woltlab.com>
Wed, 21 Jan 2015 13:11:02 +0000 (14:11 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 21 Jan 2015 13:11:02 +0000 (14:11 +0100)
wcfsetup/install/files/lib/system/bbcode/QuoteBBCode.class.php

index 899fc150f971504d24365ebd63749cae28e5916a..fce9a2860142e42b6e7f41754f71a69fbbdaad4f 100644 (file)
@@ -48,7 +48,7 @@ class QuoteBBCode extends AbstractBBCode {
                        return WCF::getTPL()->fetch('quoteBBCodeTag');
                }
                else if ($parser->getOutputType() == 'text/simplified-html') {
-                       return WCF::getLanguage()->getDynamicVariable('wcf.bbcode.quote.text', array('content' => $content, 'cite' => (!empty($openingTag['attributes'][0]) ? $openingTag['attributes'][0] : '')));
+                       return WCF::getLanguage()->getDynamicVariable('wcf.bbcode.quote.text', array('content' => $content, 'cite' => (!empty($openingTag['attributes'][0]) ? $openingTag['attributes'][0] : '')))."\n";
                }
        }
 }