Just Typographer's Quotes?


#1

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


#2

Look for “smartypants ruby”

Here’s one library: https://github.com/jmcnevin/rubypants

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.


#3

If your site setup is UTF-8 throughout, you can use and store curly
quotes without any HTML encoding, if that helps - DaveE