v3.5.0
This release mostly ships with bug fixes and tiny improvements.
Improvements
-
Avoid mutating the options hash passed to a render object (See #663).
-
Automatically enable the
fenced_code_blocksoption passing aHTML_TOCobject to theMarkdownobject's constructor since some languages rely on the sharp to comment code (See #451). -
Remove the
relandrevattributes from the output generated for footnotes as they don't pass the HTML 5 validation (See #536). -
Allow passing
Rangeobjects to thenesting_leveloption to have a higher level of customization for table of contents (See #519):Redcarpet::Render::HTML_TOC.new(nesting_level: 2..5)
Bug fixes
-
Fix a segfault rendering quotes using
StripDownand the:quoteoption. -
Fix SmartyPants single quotes right after a link. For example:
[John](http://john.doe)'s catWill now properly converts
'to a right single quote (i.e.’).