EE2 Ready Add-ons »

Plugin

EE 1
EE 2
Cleaner

Developer

Oliver Heine - silenz

3rd Party (Free)


Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel
  • Hermes

Cleaner sanitizes text into HTML entities, removing any JS, and stripping any HTML tags.

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.

So Cleaner takes some 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.

Cleaner Links

This entry was last updated August 8, 2009, 12:48 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!