-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
safeHTML marked HTML data elements (.Site.Data, JSON etc.) are escaped #3876
Comments
Hmm... Probably a Go 1.9 thing. But gohugo.io is built with Hugo 0.27 and I don't see any issue there: |
What OS are you running? @digitalcraftsman can you reproduce this? |
macOS 10.12.6 Thanks for your help, @bep. I guess, your middle name is “fast”, too! |
No, that is my last name. My middle name is Erik :-) |
I compiled the latest version and checked the docs locally. But I wasn't able to reproduce this issue either. |
Thank you, guys. Now, I know what causes the problem, but I do not know why. My “config.toml” says:
It is the Error occurs with “single.ics” or with “single.calendar.ics” |
@Brixy OK, then I think I know enough to try to reproduce it. I suspect it is a Go 1.9 issue, which is the only related change from Hugo 0.26. |
I also face this issue. it happened when running in in |
See golang/go#21844 |
Thank you very much for all your efforts in general and for bringing out v0.27.1 so quickly, @bep. (Apologies if answering to a closed thread is unprofessional[?].) |
@Brixy the reason I moved so fast on this was that I suspected that it had to be fixed in Go, and I knew that 1.9.1 is just around the corner -- so to get a fix in there would require some really fast action. Luckily there was a workaround on the Hugo side of the fence. |
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. |
Thanks for v0.27. Related content is great and fast.
Just want to mention that (some?) shortcodes suddenly escape html. The instagram expample from the website results in:
Also my own shortcodes are escaped.
Thank you.
The text was updated successfully, but these errors were encountered: