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

Emoji in markdown heading is not rendered in TOC entry #12022

Closed
jmooring opened this issue Feb 9, 2024 · 1 comment
Closed

Emoji in markdown heading is not rendered in TOC entry #12022

jmooring opened this issue Feb 9, 2024 · 1 comment

Comments

@jmooring
Copy link
Member

jmooring commented Feb 9, 2024

This is a regression introduced with #11593.

Will handle in #11784

@jmooring jmooring changed the title Emoji in markdown heading is not rendered Emoji in markdown heading is not rendered in TOC entry Feb 10, 2024
@bep bep added this to the v0.124.0 milestone Feb 18, 2024
lyind added a commit to lyind/hugo that referenced this issue Feb 20, 2024
Configure the TOC (TableOfContents, toc.go) goldmark renderer to always
enable the Strikethrough and Emoji extensions. This allows handling
ast.KindStrikethrough and ast.KindEmoji AST nodes when rendering the TOC.

Fixes gohugoio#7169
Fixes gohugoio#11783
Fixes gohugoio#12022
@bep bep modified the milestones: v0.124.0, v0.125.0 Mar 4, 2024
@bep bep closed this as completed in 134e7d1 Mar 7, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants