Files
growstuff/config/initializers/escaped_markdown.rb
Miles Gould 6b487ab1f6 Escaped_Markdown HAML filter, for use in RSS.
I tried to do this using Haml::Filters::Markdown so it would be
independent of our Markdown renderer, but I couldn't get
Haml::Filters::Markdown.render to work programmatically - whatever I
did, it returned its input unchanged. So I hardcoded a dependence on
bluecloth.
2013-05-16 15:08:50 +01:00

2 lines
40 B
Ruby

require 'haml/filters/escaped_markdown'