Adds truncate tag to Radiant for truncating data within the tag.
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead of astashov:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/models
lib/tasks
spec
LICENSE
README
Rakefile
truncate_extension.rb

README

== Truncate

Provides a way to truncate content. Documentation and examples are provided in the description
of the <r:truncate /> tag.

== Authors and Credits
 
Written by Anton Astashov, with Brenton Cheng, for Astrology.com (a division of iVillage Inc.)
Refactored and enhanced by Jim Gay of Saturn Flyer with code from Benjamin Thomas (http://benjaminthomas.org/2009/01/30/smart-html-truncate.html)