lib/redcarpet.rb in redcarpet-1.13.0 vs lib/redcarpet.rb in redcarpet-1.13.1

- old
+ new

@@ -24,11 +24,11 @@ # rescue LoadError # require 'bluecloth' # end # class Redcarpet - VERSION = '1.13.0' + VERSION = '1.13.1' # Original Markdown formatted text. attr_reader :text # Set true to have smarty-like quote translation performed. @@ -76,9 +76,12 @@ # Do not render emphasis_inside_words attr_accessor :no_intraemphasis # Generate XHTML 1.0 compilant self-closing tags (e.g. <br/>) attr_accessor :xhtml + + # Force a space between header hashes and the header itself + attr_accessor :space_header def initialize(text, *extensions) @text = text extensions.each { |e| send("#{e}=", true) } end