bobmcwhirter/awestruct — Issue #68: Expose configuration in RedCloth for no_span_caps
Author: mojavelinux
Created: 2012-02-03 23:16:55+00:00
State: open

Textile places `span' tags around capitalized words by default, but in most cases it's just garbage and messes up source code. This behavior can be suppressed using the accessor no_span_caps in RedCloth::TextileDoc.

I can't find a way to set this option on the RedCloth::TextileDoc object since it's created inline in lib/awestruct/textilable.rb long after Awestruct bootstraps. Please provide a way to set this configuration option in the Awestruct pipeline.

http://redcloth.org/textile/writing-paragraph-text/#uppercase
http://redcloth.rubyforge.org/classes/RedCloth/TextileDoc.html