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

Implement blackfriday algorithm for Gitea slugification #764

Merged
merged 3 commits into from
Jul 25, 2020
Merged

Implement blackfriday algorithm for Gitea slugification #764

merged 3 commits into from
Jul 25, 2020

Conversation

rodolpheh
Copy link
Contributor

@rodolpheh rodolpheh commented Jul 25, 2020

Gitea uses blackfriday as Markdown parser. The way header anchors are implemented are described here.

This pull request makes the Gitea slugification follow more closely the blackfriday algorithm. See here for a test page.

@yzhang-gh
Copy link
Owner

:shipit:

@yzhang-gh yzhang-gh merged commit f822e72 into yzhang-gh:master Jul 25, 2020
@rodolpheh rodolpheh deleted the feature/gitea-slugify branch July 28, 2020 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants