method
textile
v2.3.8 -
Show latest stable
- Class:
RailsGuides::Generator
textile(body)public
No documentation available.
# File railties/guides/rails_guides/generator.rb, line 111
def textile(body)
# If the issue with notextile is fixed just remove the wrapper.
with_workaround_for_notextile(body) do |body|
t = RedCloth.new(body)
t.hard_breaks = false
t.to_html(:notestuff, :plusplus, :code, :tip)
end
end