This project is archived and is in readonly mode.

#2494 ✓resolved
Pat Nakajima

Registered text helper classes

Reported by Pat Nakajima | April 14th, 2009 @ 10:20 PM | in 2.x

Here's a patch to enable the registration of custom classes for different text helpers such as textilize and markdown using the following syntax:

ActionView::Base.text_helper :markdown, RDiscount

With the above line, RDiscount will be used as the Markdown library instead of BlueCloth. I can also see a lot of view helpers being implemented via classes that can be swapped out for custom implementations.

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=""></a>