Currently, those teasers are generated this way in entries_rcol.tpl:
Code: Select all
{$entry.body|truncate:400:" ..."}I figure there is no way to control truncating the article with all tags closed, especially not with regard to the variety of code people might use in $entry.body. So I was wondering: Is there a way to strip all HTML tags from $entry.body before or after truncating it? That way, I'd get a plain text output which could be put in <p></p> ...
YL