Skip to content

fix(deps): update module github.com/russross/blackfriday to v2 - autoclosed

renovate requested to merge renovate/github.com-russross-blackfriday-2.x into master

This MR contains the following updates:

Package Type Update Change
github.com/russross/blackfriday require major v1.6.0 -> v2.1.0

Release Notes

russross/blackfriday

v2.1.0

Compare Source

A minor release, mainly aimed at resolving ambiguity about the import path for blackfriday v2 and delivering minor fixes since last release:

  • Committed to github.com/russross/blackfriday/v2 as the canonical import path for blackfriday v2. (Issue #​587)
  • Reduced the amount of dependencies. (MRs #​509 and #​515)
  • Added a SanitizedAnchorName function. (MR #​509)
  • Added Node.IsContainer and Node.IsLeaf methods. (MR #​540)
  • Fixed parsing of links that end with a double backslashes. (Issue #​510)
  • Fixed an issue where fence length wasn't computed. (MR #​505)
  • Improved the default value for the HTMLRendererParameters.FootnoteReturnLinkContents field. (MR #​547)

v2.0.1

Compare Source

A minor release, mainly aimed at releasing a version with go.mod.

  • Added go.mod
  • Enhanced support for info strings in fenced code blocks (issue #​410)
  • README updates
  • Added a reference to confluence wiki renderer
  • Fixed HTML entity regex
  • Fixed HTML5 by removing rel="footnote" which is invalid
  • Added NoopenerLinks option that adds rel="noopener" attribute
  • Added heading offset option to HTML renderer
  • Fixed consecutive lists of different kinds
  • Fixed block parsing for fenced code blocks in lists (issue #​239)

Huge thanks to the contributors! Bjørn Erik Pedersen (@​bep) Cameron Moore (@​moorereason) Dmitri Shuralyov (@​dmitshur) Emil Melnikov (@​emilmelnikov) Iain Haslam (@​understated) Kentaro Matsushita (@​kentaro-m) Liming Jin (@​jinliming2) Michael (@​michael-k) Mitchell Cohen (@​mitchchn) Nathan Glenn (@​garfieldnate) Nick Galbreath (@​client9) Rebecca Turner (@​9999years) Vas Sudanagunta (@​vassudanagunta)

v2.0.0

Compare Source

Version 2 of Blackfriday is a major overhaul of the API. Feature-wise nothing has changed, but the entire set of types, functions and constants has changed. This was done to make the API have more idiomatic Go look-and-feel, and fix a few bugs inherent in the legacy C-like interface. As a bonus, Blackfriday has become more flexible for extension.

Highlights:

  • The most common entry point has been simplified. The vast majority of users can now call Run to get what they want:
    outputBytes := blackfriday.Run(inputBytes)
  • Writing your own renderer has become much easier.
  • It's become very easy to write an extension to an existing renderer, customizing one aspect or another, and leaning back to the default behavior.
  • You can now parse the Markdown document and obtain the syntax tree. You can manipulate the tree before rendering, or you can use it for data extraction from the Markdown documents.
  • To get all of the above working, documentation has been improved.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports