-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
config_option shortcode is escaping HTML #2489
Comments
Hey can I work on it. |
@svrnm - FYI, I'm going to remove the "good first issue" because I think this one is hitting a Hugo bug, and so it will likely require good knowledge of Hugo to investigate and resolve. |
Thanks @chalin, my assumption was this is a quick fix by editing the file. @shyamtawli apologies see chalin's comment above, this is not a good starter issue |
No worries! It does look like a quick-fix candidate. |
No Issue @svrnm |
Thanks! For the record, it seems likely that Go templates are escaping based on context, similar to what happened in #2509, which was resolved via: It's not clear to me why this is happening for a shortcode rendered as markdown. |
Visit https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/#peer-service-name and you'll see:
It seems that Hugo's
trim
function is escaping HTML.The text was updated successfully, but these errors were encountered: