This project is archived and is in readonly mode.

#705 ✓resolved
Clemens Kofler

TextHelper refactored

Reported by Clemens Kofler | July 25th, 2008 @ 04:06 PM | in 2.x

As with my other helper patches (http://rails.lighthouseapp.com/p..., http://rails.lighthouseapp.com/p... and http://rails.lighthouseapp.com/p..., here's a patch to make all relevant text helper methods (truncate, highlight, excerpt, word_wrap and auto_link) accept an options hash.

Includes tests plus updated documentation.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages