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

Compatibility issue with delimit function in Hugo 0.120.0 #1325

Closed
loganmarchione opened this issue Oct 30, 2023 · 2 comments
Closed

Compatibility issue with delimit function in Hugo 0.120.0 #1325

loganmarchione opened this issue Oct 30, 2023 · 2 comments
Labels
bug Something isn't working resolved Resolved Issue/Question

Comments

@loganmarchione
Copy link
Sponsor

I’m not a front-end developer, but I use Hugo and PaperMod for my personal site.

I noticed when going from Hugo 0.119.0 to 0.120.0, I’m seeing raw HTML character entities in my final site that are being incorrectly rendered by the browser.

The top is Hugo 0.120.0 and the bottom is 0.119.0 (nothing else changed).
combined

I asked on Hugo's Discourse and they said it was a recent change in the delimit function in Hugo 0.120.0 and that it would require a theme update.

FWIW, I've tried the latest PaperMod hash as-of this writing and it still shows the same thing.

@adityatelange adityatelange added bug Something isn't working resolved Resolved Issue/Question labels Oct 31, 2023
@adityatelange
Copy link
Owner

Hi @loganmarchione, thanks for heads up, this has been fixed. Please pull master branch.
There are more deprecations with 120, but those are not breaking changes. I will look into them over weekend.

@loganmarchione
Copy link
Sponsor Author

@adityatelange, it's working, thanks!

ajleitzke added a commit to ajleitzke/hugo-PaperMod that referenced this issue Nov 10, 2023
* Add the social icon for Firefish (adityatelange#1294)

* Add social icon for Pleroma (adityatelange#1293)

* Update vi.yaml (adityatelange#1316)

* Added Norwegian translation (adityatelange#1318)

* Add codeberg icon (adityatelange#1310)

Resolve adityatelange#1268

* Add Swahili translation sw.yaml (adityatelange#1303)

Co-authored-by: dryscord <139716273+dryscord@users.noreply.github.com>

* feat: add bugcrowd and intigriti to svg.html (adityatelange#1205)

* Update README.md

Mention Paper's commit sha

* Add `safeHTML` to post_meta
- delimit now returns a string and not a template.HTML from hugo v0.120.0
- no impact found with min req version for Papermod
https://github.com/gohugoio/hugo/releases/tag/v0.120.0

fixes adityatelange#1325

* Add X icon in Share and Social buttons (replaces twitter share icon) (adityatelange#1273)

* Add svg for X

* Add X share button

* Remove twitter share button

* Add backwards compatibility for twitter share button

* simplify condition

* alphabetize x svg

---------

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>

* Error out if hugo.Version used is less than min required version

---------

Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com>
Co-authored-by: Thành Nhân <60387689+NhanAZ@users.noreply.github.com>
Co-authored-by: Lars Kristian Haga <LarsKHaga@gmail.com>
Co-authored-by: Thanos Apollo <138289036+thanosapollo@users.noreply.github.com>
Co-authored-by: calalloo <139716273+calalloo@users.noreply.github.com>
Co-authored-by: dryscord <139716273+dryscord@users.noreply.github.com>
Co-authored-by: Kevin Chung <60195141+kev-odin@users.noreply.github.com>
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Co-authored-by: Sebastian Zanoni <zanonisebastian@gmail.com>
mbrt added a commit to mbrt/blog that referenced this issue Dec 4, 2023
See adityatelange/hugo-PaperMod#1325.

Also deleted outdated and unpublished post.
KunalGautam added a commit to KunalGautam/blog.ikunal.in that referenced this issue Dec 9, 2023
zer0ttl pushed a commit to zer0ttl/hugo-PaperMod that referenced this issue Jan 24, 2024
- delimit now returns a string and not a template.HTML from hugo v0.120.0
- no impact found with min req version for Papermod
https://github.com/gohugoio/hugo/releases/tag/v0.120.0

fixes adityatelange#1325
purerstamp added a commit to purerstamp/hugo-website-safeHTML that referenced this issue Apr 11, 2024
purerstamp added a commit to purerstamp/hugo-website-safeHTML that referenced this issue Apr 11, 2024
pmichaillat added a commit to pmichaillat/pmichaillat.github.io that referenced this issue Apr 14, 2024
pmichaillat added a commit to pmichaillat/hugo-website that referenced this issue Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolved Resolved Issue/Question
Projects
None yet
Development

No branches or pull requests

2 participants