Update dependency redcarpet to v3#255
Open
renovate[bot] wants to merge 1 commit intodatadog-5.5.0from
Open
Conversation
|
" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
"~> 2.2.2"→"~> 3.6.0"Release Notes
vmg/redcarpet (redcarpet)
v3.6.1Compare Source
Migrate Markdown objects to the
TypedDataAPI.Refs #785.
Jean Boussier
v3.6.0Compare Source
Avoid warnings running on Ruby 3.2+.
Refs #721.
Jean Boussier
Match fence char and length when matching closing fence in fenced code blocks.
Fixes #208.
Martin Cizek, Orchitech
Consider
<center>as a block-level element.Refs #702.
momijizukamori
Properly provide a third argument to the
table_cellcallback indicatingwhether the current cell is part of the header or not.
The previous implementation with two parameters is still supported.
Fixes #604, Refs #605.
Mark Lambley
Fix anchor generation on titles with ampersands.
Fixes #696.
v3.5.1Compare Source
Fix a security vulnerability using
:quotein combination with the:escape_htmloption.Reported by Johan Smits.
v3.5.0Compare Source
Avoid mutating the options hash passed to a render object.
Refs #663.
Max Schwenk
Fix a segfault rendering quotes using
StripDownand the:quoteoption.
Fixes #639.
Fix
warning: instance variable @​options not initializedwhenrunning under verbose mode (
-w,$VERBOSE = true).Fix SmartyPants single quotes right after a link. For example:
Will now properly converts
'to a right single quote (i.e.’).Fixes #624.
Remove the
relandrevattributes from the output generatedfor footnotes as they don't pass the HTML 5 validation.
Fixes #536.
Automatically enable the
fenced_code_blocksoption passing aHTML_TOCobject to theMarkdownobject's constructor sincesome languages rely on the sharp to comment code.
Fixes #451.
Allow passing
Rangeobjects to thenesting_leveloption to havea higher level of customization for table of contents:
Fixes #519.
v3.4.0Compare Source
Rely on djb2 hashing generating anchors with non-ASCII chars.
Fix issue #538.
Alexey Kopytko, namusyaka
Added suppport for HTML 5
detailsandsummarytags.Fix issue #578.
James Edwards-Jones
Multiple single quote pairs are parsed correctly with SmartyPants.
Fix issue #549.
Jan Jędrychowski
Table headers don't require a minimum of three dashes anymore; a
single one can be used for each row.
Remove escaped entities from
HTMLrender table of contents'ids to be consistent with the
HTML_TOCrender.Fix issue #529.
Remove periods at the end of URLs when autolinking to make sure
that links at the end of a sentence get properly generated.
Fix issue #465.
Expose the Markdown and rendering options through a
Hashinsidethe
@optionsinstance variable for custom render objects.Avoid escaping ampersands in href links.
Nolan Evans
v3.3.4Compare Source
Fix
bufprintfto correctly work on Windows MinGW-w64 so stringsare properly written to the buffer.
Kenichi Saita
Fix the header anchor normalization by skipping non-ASCII chars
and not calling tolower because this leads to invalid UTF-8 byte
sequences in the HTML output. (tolower is not locale-aware)
Clemens Gruber
v3.3.3Compare Source
Fix a memory leak instantiating a
Redcarpet::Render::Baseobject.Oleg Dashevskii
Fix the
StripDownrenderer to handle the:highlightoption.Itay Grudev
The
StripDownrenderer handles tables if thetablesextension isenabled.
amnesia7
Fix Smarty Pants to avoid fraction conversions when there are several
numbers separated with slashes (e.g. for a date).
Sam Saffron
v3.3.2Compare Source
(Thanks to Giancarlo Canales Barreto for the heads up)
v3.3.1Compare Source
Redcarpet::CLI's file in the gemspec to make itavailable when downloading.
v3.3.0Compare Source
Fix the stripping of surrounding characters that should be removed
during anchor generation.
Provide a
Redcarpet::CLIclass to create custom binary files.Relying on Ruby's OptionParser, it's now straightforward to add new
options, rely on custom render objects or handle differently the
rendering of the provided files.
Undeprecate the compatibility layer for the old RedCloth API.
This layer actually ease the support of libraries supporting different
Markdown processors.
Strip out
styletags at the HTML-block rendering level when the:no_stylesoptions is enabled ; previously they were only removedinside paragraphs.
Avoid parsing images when the given URL isn't safe and the
:safe_links_onlyoption is enabled.Alex Serban
Avoid parsing references inside fenced code blocks so they are
now kept in the code snippet.
David Waller
Avoid escaping table-of-contents' headers by default. A new
:escape_htmloption is now available for theHTML_TOCobjectif there are security concerns.
Add the
lang-prefix in front of the language's name when using:prettifyalong with:fenced_code_blocks.Non-alphanumeric chars are now stripped out from generated anchors
(along the lines of Active Support's
#parameterizemethod).v3.2.3Compare Source
Avoid rewinding content of a previous inline when autolinking is
enabled.
Daniel LeCheminant
Fix escaping of forward slashes with the
Saferender object (add amissing semi-colon).
v3.2.2Compare Source
scriptas a block-level element so it doesn't get includedinside a paragraph.
v3.2.1Compare Source
Load
RedcarpetCompatwhen requiring Redcarpet for the sake ofbackward compatibility.
Loren Segal
v3.2.0Compare Source
Add a
Saferenderer to deal with users' input. Theescape_htmland
safe_links_onlyoptions are turned on by default.Moreover, the
block_codecallback removes the tag's class sincethe user can basically set anything with the vanilla one.
Robin Dupret
HTML5 block-level tags are now recognized
silverhammermba
The
StripDownrender object now displays the URL of linksalong with the text.
Robin Dupret
The RedCloth API compatibility layer is now deprecated.
Robin Dupret
A hyphen and an equal should not be converted to heading.
namusyaka
Fix emphasis character escape sequence detection while mid-emphasis.
jcheatham
Add
=to the whitelist of escaped chars so it can be used insidehighlighted snippets.
jcheatham
Convert trailing single quotes to curly quotes. For example,
Road Trippin'now converts toRoad Trippin’.Kevin Chen
Allow in-page links (e.g.
[headline](#headline)) when:safe_links_onlyis set.jomo
Enable emphasis inside of sentences in multi-byte languages when
:no_intra_emphasisis set.Chun-wei Kuo
Avoid making
:no_intra_emphasisonly match spaces. This allowsusing emphasizes inside quotes when the option is enabled for
instance.
Jason Webb and BJ Homer
The StripDown renderer handles image tags now.
v3.1.2Compare Source
headercallback. This wasa breaking change between 3.0 and 3.1 as the method's arity changed.
v3.1.1Compare Source
v3.1.0Compare Source
Yield the anchor of the headers
Using the
headercallback, it's now possible to get access to thehumanized generated id to easily keep tracking of the tree of headers
or simply handle the duplicate values easily.
Since the
HTML_TOCandHTMLobjects both have this callback, it'sadvisable to define a module and mix it in these objects to avoid
code duplication.
Robin Dupret
Allow using tabs between a reference's colon and its link
Fix issue #337
Juan Guerrero
Make ordered lists preceded by paragraph parsed with
:lax_spacingPreviously, enabling the
:lax_spacingoption, if a paragraph wasfollowed by an ordered list it was unparsed and was part of the
paragraph but this is no more the case.
Robin Dupret
Feed the gemspec into ExtensionTask so that we can pre-compile.
ie.
rake native gemTodd Edwards
Revert lax indent of less than 4 characters after list items
Follow the standard to detect when new paragraph is outside last item.
Fixes issue #111.
Eric Bréchemier
Fix code blocks' classes when using Google code prettify
When using the the
:prettifyoption and specifying thelanguage name, the generated code block's class had a missing
space.
Simonini
Add
-v/--versionand-hflags to commandline redcarpetLukas Stabe
Add optional quote support through the
:quoteoption. Renderquotations marks to
qHTML tag.This is a
"quote".Anatol Broder
Ensure inline markup in titles is correctly stripped when generating
headers' anchor.
Robin Dupret
Revert the unescaping behavior on comments
This behavior doesn't follow the conformance suite.
Robin Dupret
Add optional footnotes support
Add PHP-Markdown style footnotes through the
:footnotesoption.Ben Dolman, Adam Florin, microjo, brief
Enable GitHub style anchors for headers
Passing the
with_toc_dataoption to aHTMLrender object nowgenerates GitHub style anchors.
Matt Rogers
Allow to set a maximum rendering level for HTML_TOC
Allow the user to pass a
nesting_leveloption when instantiating anew HTML_TOC render object in order to limit the nesting level in the
generated table of content. For example:
Robin Dupret
v3.0.0Compare Source
Remove support for Ruby 1.8.x Matt Rogers & Robin Dupret
Avoid escaping for HTML comments Robin Dupret
Make emphasis wrapped inside parenthesis parsed Robin Dupret
Remove the Sundown submodule Robin Dupret
Fix FTP uris identified as emails Robin Dupret
Add optional highlight support Sam Soffes
This is
==highlighted==.Ensure nested parenthesis are handled into links Robin Dupret
Ensure nested code spans put in emphasis work correctly Robin Dupret
v2.3.0Compare Source
Add a
:disable_indented_code_blocksoption Dmitriy KiriyenkoFix issue #57 Mike Morearty
Ensure new lines characters are inserted when using the StripDown
render. Robin Dupret
Mark all symbols as hidden except the main entry point Tom Hughes
This avoids conflicts with other gems that may have some of the
same symbols, such as escape_utils which also uses houdini.
Remove unnecessary function pointer Sam Soffes
Add optional underline support Sam Soffes
This is
*italic*and this is_underline_when enabled.Test that links with quotes work Michael Grosser
Adding a prettyprint class for google-code-prettify Joel Rosenberg
Remove unused C macros Matt Rogers
Remove 'extern' definition for Init_redcarpet_rndr() Matt Rogers
Remove Gemfile.lock from the gemspec Matt Rogers
Removed extra unused test statement. Slipp D. Thompson
Use test-unit gem to get some red/green output when running tests
Michael Grosser
Remove a deprecation warning and update Gemfile.lock Robin Dupret
Added contributing file Brent Beer
For tests for libxml2 > 2.8 strzibny
SmartyPants: Preserve single
backticksin HTML Mike MoreartyWhen SmartyPants is processing HTML, single
backticksshould be leftintact. Previously they were being deleted.
Removed and ignored Gemfile.lock Ryan McGeary
Added support for org-table syntax Ryan McGeary
Adds support for using a plus (+) as an intersection character instead of
requiring pipes (|). The emacs org-mode table syntax automatically manages
ascii tables, but uses pluses for line intersections.
Ignore /tmp directory Ryan McGeary
Add redcarpet_ prefix for
stack_*functions Kenta MurataMark any html_attributes has held by a renderer as used Tom Hughes
Add Rubinius to the list of tested implementations Gibheer
Add a changelog file
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.