I’m curious to know if there is a way to have RedCloth apply only the
quotation-mark transformation: basically, I want my quotation marks to
be
curly, but I do not want bolding, subscript, italics, etc. Is this
possible
with RedCloth? (Or with any plugin, for that matter? Or with Regex?)
Thanks for any tips or advice you might have!
Brian Christian
Look for “smartypants ruby”
Here’s one library: GitHub - jmcnevin/rubypants: RubyPants: SmartyPants for Ruby
On Thursday, May 2, 2013, Brian Christian wrote:
I’m curious to know if there is a way to have RedCloth apply only the
quotation-mark transformation: basically, I want my quotation marks to be
curly, but I do not want bolding, subscript, italics, etc. Is this possible
with RedCloth? (Or with any plugin, for that matter? Or with Regex?)
Thanks for any tips or advice you might have!
Brian Christian
–
// Magnus H.
If your site setup is UTF-8 throughout, you can use and store curly
quotes without any HTML encoding, if that helps - DaveE