Clean HTML

Developer

codeTrio

3rd Party (Free)

1 downloads (last 90 days)

MIT License Download v1.0

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

This plugin cleans dirty html code. Also you can truncate string to a specific length and returned string will have valid markup in it.

This plugin cleans dirty html code. Also you can truncate string to a specific length and returned string will have valid markup in it.

This come with three parser. HTML Purifier, Tidy and custom
HTML Purifier - http://htmlpurifier.org/
HTML Tidy - http://www.w3.org/People/Raggett/tidy/, you server must have this support
custom - native dirty html cleaning method

From all of this, HTML Purifier is little slower than other but it works great, also need the library files with the plugin. HTML Tidy is little faster than HTML Purifier but your server must have the php tidy package. Custom is faster than all other but i need to improve this more.

Parameters:
engine - tidy/purifier/custom. Which library want to use.
  tidy - http://www.w3.org/People/Raggett/tidy/
  purifier - http://htmlpurifier.org/
  custom - native
  Default value is purifier. Its a optional field.
excerpt_size - Optional. To truncate suppplied string to specific number of words.
strip_tags - yes/no. Default is no. Strip HTML tags from a string
strip_tags_except - Tags that should not be removed from supplied string. For example:
strip_tags_except=”<p><a>”

To use this plugin, wrap anything you want to be processed by it between these tag pairs:

{exp:clean_html excerpt_size=“120” engine=“tidy”}
text and html code you want to clean
{/exp:clean_html}

Troubleshooting

Having problems? Contact codeTrio

Download Clean HTML

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0 Apr 10, 2012

This entry was created November 29, 2010, 12:08 pm.
This entry was last updated April 12, 2012, 12:45 am.

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!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

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