Vanilla co-founder
$config->set('Output', 'Newline', "<br />");$FormPostValues['Body'] = nl2br($FormPostValues['Body']); $this->Comment->Body = preg_replace('/<br\\s*?\/??>/i', '', $this->Comment->Body); <div class="Body"><?php echo nl2br(Format::To($Comment->Body, $Comment->Format)); ?></div><p>old paragraph</p>Edit: Just did some testing and noticed line-breaks work as expected when HTML Purifier if disabled, so the fix should probably be within the plugin rather than using a dirty workaround in the Vanilla application.
<br />
<br />
<p>
$Mixed = preg_replace("/(\015\012)|(\015)|(\012)/", "<br />", $Mixed);It looks like you're new here. If you want to get involved, click one of these buttons!