Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade github.com/russross/blackfriday #8503

Closed
wants to merge 1 commit into from
Closed

upgrade github.com/russross/blackfriday #8503

wants to merge 1 commit into from

Conversation

carnott-snap
Copy link
Contributor

@carnott-snap carnott-snap commented Oct 14, 2019

russross/blackfriday made breaking api changes and has recently released
v2.0.1. Some symbol renaming occurred, so this change consumes that
delta.

It will also be required to rework the modules/markup/markdown.Renderer
struct set to meet the new blackfriday.Renderer interface.

Close #8502.

@lunny lunny added the type/enhancement An improvement of existing functionality label Oct 14, 2019
blackfriday.HTML_OMIT_CONTENTS |
blackfriday.HTML_USE_SMARTYPANTS
blackfriday.SkipHTML |
blackfriday.Smartypants
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OmitContents?

Copy link
Contributor Author

@carnott-snap carnott-snap Oct 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears blackfriday.HTML_OMIT_CONTENTS was sunset without a direct replacement, see upstream, it may be that some other flag or option within the blackfriday.HTMLRenderer struct may replace this.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 14, 2019
russross/blackfriday made breaking api changes and has recently released
v2.0.1. Some symbol renaming occurred, so this change consumes that
delta.

It will also be required to rework the modules/markup/markdown.Renderer
module set to meet the new blackfriday.Renderer interface.

Close #8502.
@lafriks lafriks closed this Oct 30, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upgrade to blackfriday/v2
4 participants