Possible bug with the current nightly build and SS 2.2.2 fresh install.
This only applies when BlogEntry::allow_wysiwyg_editing(); is included in _config.php
Line 111 of BlogEntry.php - ParagraphSummary Method
function ParagraphSummary(){
if(self::$allow_wysiwyg_editing) {
return $this->obj('Content')->FirstParagraph('html');
} else {
$parser = new BBCodeParser($this->Content);
$html = new HTMLText('Content');
$html->setValue($parser->parse());
return $html->FirstParagraph('html');
}
}
$this->obj('Content')->FirstParagraph('html') doesn't appear to return the first paragraph at all? Seems to work fine when wysiwyg is disabled.
Problem with the FirstParagraph method?