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

Don't replace _ in links with %5f if using Goldmark #494

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

kaushalmodi
Copy link
Owner

@kaushalmodi kaushalmodi commented Jan 4, 2022

Users running Hugo 0.60 or newer versions are using Goldmark by
default. But, in any case, if you are reading this commit because you
are still using Blackfriday and also happen to have italicized links
with underscores in them, set org-hugo-goldmark to nil.

See #485 for more
info.

Fixes #308 and #236.

This commit supersedes this PR: #403

Users running Hugo 0.60 or newer versions are using Goldmark by
default. But, in any case, if you are reading this commit because you
are still using Blackfriday and also happen to have italicized links
with underscores in them, set `org-hugo-goldmark` to nil.

See #485 for more
info.

Fixes #308.

This commit supersedes this PR: #403
@kaushalmodi kaushalmodi merged commit b8f742c into main Jan 4, 2022
@kaushalmodi kaushalmodi deleted the undo-sanitization-of-underscores-in-url branch January 4, 2022 00: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.

Investigate and remove the "_" to "%5f" hack added for Blackfriday.. may be that's not needed with Goldmark
1 participant