Cleaner
| Version | Released | Type | License |
|---|---|---|---|
| 1.0 | 2008-10-14 | Plugins | Freeware (?) |
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.
