I have a block/view that shows teasers of the latest 3 articles.. This articles are full html, it contains layout (build with a WYSIWYG)..
On the homepage, I create a block that shows the latest 3 articles.. I can give it CSS-layout..
But because it's build with the WYSIWYG, there are extra html-tags (span, a, p, ...) in the teaser, which can be different every time. The problem is that it overwrites the default layout for the teasers..
I just want to keep the clean text on the frontpage block, and full-html on the detail page. How can I manage it?
Normally I should use strip_tags(); in PHP to remove html.. But how can I do it only for that specific block?