EE 1
EE 2
TruncHTML
Developer
3rd Party (Free)
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
Tags
Truncates HTML/Text after the specified number of characters.
This plugin is used for limiting text to a specified length. Much like the Character Limiter-Plugin that comes with ExpressionEngine.
The difference is, that TruncHTML is HTML-aware, so you can use it to shorten HTML-formatted text and keep the markup without being afraid of breaking it.
Unlike the standard limiter-plugins it does not count characters that belong to HTML-tags and does not cut-off in the middle of tags.
TruncHTML Links
- TruncHTML for EE 1.6.8
- TruncHTML for EE 2.0
- TruncHTML at the ExpressionEngine Repository
- getting trunchtml plug-in to work
This entry was last updated January 25, 2010, 4:14 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!
6 Reviews:
OwanH 11.12.11
It’s a shame that I did not remember this add-on before rolling my own plugin to purify/filter HTML/Text input. This add-on really should be native to EE!
Chris Arnold 09.26.11
This should be native to EE. It just makes sense.
Bix 11.19.10
This should have been a 1st Party EE plugin from the start. But since it isn’t, good thing there is TruncHTML.
Deeper 11.09.10
Perfect! Was struggling with Word Limiter and Character Limiter when dealing with HTML. Now it’s very simple thanks to TrucHTML. Inline parameters are great.
kellypacker 09.02.10
I too struggled with the limits of Word Limiter. The ending and inline parameters are handy flexible.
prosol 06.30.10
Switched to this add-on after using word-limiter. Word Limiter was stripping the ending HTML tag from my custom field. TrucHTML doesn’t and worked perfectly.