-
Notifications
You must be signed in to change notification settings - Fork 130
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
Html entities on table of content #368
Comments
I've also noticed that if I put |
With this Markdown:
Hugo is generating:
So it looks like a Hugo/Goldmark bug. Can you create a ticket on the hugo repo? |
Possible workaround in
|
yes, of course, I will link here the ticket just for future reference :-) |
Hugo bug reference: gohugoio/hugo#7346 |
@kaushalmodi hi, after some test I've found it was a theming problem due to missing |
Ugh! I had the same issue. Thank you @finex @kaushalmodi |
Actual Behavior
I've a heading with something like
When org/ox-hugo generate the toc, the result is:
(where url is the anchor to the section)
Then Hugo exports the following html:
Expected Behavior
Markdown/Hugo wants the html entity inside the link in order to generate the correct markup, so ox-hugo should generate the following markdown:
Then Hugo, with this markdown code, will produce the correct html output:
Workaround:
I'm currently putting
…
on the org file but it's not a great solution.What do you think about?
The text was updated successfully, but these errors were encountered: