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
icon: fix ouput "raw HTML omitted" with goldmark config unsafe=false #555
Comments
Luckily this isn't contained in an official release yet but only available in the main branch. I am not sure if this can be fixed easily or if I revert the causing changes in #547. For a quick fix on your side, you could add this to your config/hugo.toml: [markup]
[markup.goldmark.renderer]
unsafe = true |
McShelby
added a commit
that referenced
this issue
Jun 3, 2023
McShelby
added a commit
that referenced
this issue
Jun 3, 2023
only keep new syntax for shortcodes in case its content may contain footnotes, meaning block level Markdown
McShelby
added a commit
that referenced
this issue
Jun 3, 2023
McShelby
changed the title
icon shortcode replaced by "raw HTML omitted"
icon: fix ouput "raw HTML omitted" with goldmark config unsafe=false
Jun 3, 2023
I've reverted most of the changes |
McShelby
added a commit
that referenced
this issue
Jun 3, 2023
McShelby
added a commit
that referenced
this issue
Jun 3, 2023
McShelby
added a commit
that referenced
this issue
Jun 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I updated my copy of theme to latest main and we noticed that at least since June 1 the icon shortcode is stripped. Can you explain what's wrong?
My article's code:
I tried variants such as putting icon shortcode after link, or even using html code such as
Thanks for a clue
The text was updated successfully, but these errors were encountered: