I think this should be rather easy, but I can't find a simple solution to this. Basically I just want to print a summary of about 50 words as plain text. However, asterisks are being substituted where bold text is. This thread seems to be headed in the right direction: http://silverstripe.org/customising-the-cms/show/255639#post255639 but the ticket explaining the fix is not working.
Has anyone gotten this to work correctly? What should go in my controller, and what should go in my template?
I have something like this in my controller...
function ArticleSummary() {
$ac = $this->obj('ArticleContent')->NoHTML();
return $ac->LimitWordCount(50);
}
And this in my template...
<p>$ArticleSummary</p>
I know that logic has plenty of flaws, but I wanted to give a starting point. Thanks in advance for you help.