imathis/octopress — Issue #364: RubyPants messing up my Coffeescript
Author: jgarber
Created: 2012-01-11 15:49:42+00:00
State: open

It seems "RubyPants is a post-filter for all content":https://github.com/imathis/octopress/blob/master/plugins/octopress_filters.rb#L19 in Octopress.

It's adding curly quotes in my CoffeeScript, which causes JS parse errors. Shouldn't RubyPants just apply to Markdown? At the very least, there should be a way of suppressing it in filters, but I'd much prefer only using it where required. I use Textile and it does curly quotes internally.