This project is archived and is in readonly mode.
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
-
Pat Nakajima April 14th, 2009 @ 10:28 PM
- Tag changed from action_pack, action_view, helpers, text_helper to action_pack, action_view, helpers, patch, text_helper
-
Pat Nakajima April 17th, 2009 @ 09:49 PM
- Assigned user set to Yehuda Katz (wycats)
-
CancelProfileIsBroken August 6th, 2009 @ 01:50 PM
- State changed from new to resolved
http://github.com/rails/rails/commit/a147becfb86b689ab25e92edcfbb4b... takes care of this.
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>