I'm trying to remove all HTML-Tags/Entities in Freemarker by using
replace/regex. The goal is to print a clean teaser-abstract-text.
[code][#assign text = text?replace("<[^>]*>", "", "r")]
${text}[/code]
But, it's not working. Is there a mistake or are there other possibilities to
clean-up html?
Any ideas?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=6deeefc9-228e-4b3e-8696-c629f58259df
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------