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_blocks
option passing aHTML_TOC
object to theMarkdown
object's constructor since some languages rely on the sharp to comment code (See #451). -
Remove the
rel
andrev
attributes from the output generated for footnotes as they don't pass the HTML 5 validation (See #536). -
Allow passing
Range
objects to thenesting_level
option 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
StripDown
and the:quote
option. -
Fix SmartyPants single quotes right after a link. For example:
[John](http://john.doe)'s cat
Will now properly converts
'
to a right single quote (i.e.’
).