EE Plugin - Cleaner
Amplify’d from utilitees.silenz.org
utilitees
- Addons for ExpressionEngine
Cleaner
This is just a little helper plugin. We often take an excerpt of the article text to fill the <meta name=“description”> of the single entry pages. For a long time I was used to nesting a whole a bunch of other plugins to sanitize the data beforehand but the results were not bulletproof anyway.
So this plugin takes a text and first removes any javascript (note: ExpressionEngine replaces email-addresses with javascript to obfuscate them), then strips all HTML-tags and finally applies PHP’s htmlspecialchars()-function to transform ampersands, quotes, less & greater thans to HTML entities. That’s all it does.
Read more at utilitees.silenz.org




