-
Notifications
You must be signed in to change notification settings - Fork 133
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
Remove unnecessary markdownify calls #646
Comments
Hi, this is what I have tested using This is the code used right now (with a bit of DEBUG):
With Goldmark gives:
With blackfriday gives what you expect:
Using markdownify only gives one change, we lose the closing Now if we change
With Goldmark gives:
With blackfriday gives the same result
So I think it is safe to assume that I can't test this with an older version of Hugo (0.60.1 right now) to see if But I'm going to try to get the full |
Awesome analysis and debugging. Seems like "markdownify" might be a left-over artifact from early versions, which isn't necessary anymore. Much appreciated. Looking forward to the PR resolving compatibility for 0.60.1 \o/ |
@Marzal Thanks again for your help. |
Is this a BUG REPORT or FEATURE REQUEST?:
Refactor Suggestion
Explanation:
We changed markdown configuration within exampleSite's
config.toml
file to add support for Hugo v0.60 and the new GoldMark markdown compiler but the solution is not really good. It's much better to remove any unnecessarymarkdownify
calls which causes problems for rendering with theunsafe html
errors.The text was updated successfully, but these errors were encountered: