This release only migrates Markdown objects to the TypedData API, preventing deprecation warnings on newer versions of Ruby.
Unclaimed project
Are you a maintainer of redcarpet? Claim this project to take control of your public changelog and roadmap.
Changelog
The safe Markdown parser, reloaded.
Last updated over 1 year ago
This release only migrates Markdown objects to the TypedData API, preventing deprecation warnings on newer versions of Ruby.
This release is not particularly heavy but brings a few improvements and fixes.
<center> as a block-level element (See #702).table_cell callback indicating whether the current cell is part of the header or not.
The previous implementation with two parameters is s...Fix a security vulnerability using :quote in combination with the :escape_html option.
Reported by Johan Smits.
This release mostly ships with bug fixes and tiny improvements.
fenced_code_blocks option passing a HTML_TOC object to the Markdown object's constructor since some languages rely on the sharp to comment code (See #451).rel and rev attributes from the ou...This new release ships with a bunch of bug fixes especially regarding anchor generation.
The anchor generation now relies on a djb2 hashing algorithm whenever the generated anchor is empty as non alpha-numeric chars. This is specifically interesting for CJK contents as Redcarpet used to generate empty anchors dealing with titles in these...