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

[BUG] Escaped HTML in post_meta data date #1344

Closed
rathod-sahaab opened this issue Nov 26, 2023 · 7 comments
Closed

[BUG] Escaped HTML in post_meta data date #1344

rathod-sahaab opened this issue Nov 26, 2023 · 7 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists resolved Resolved Issue/Question

Comments

@rathod-sahaab
Copy link

Describe the bug
On local builds (latest hugo everything works fine, remote escape date html

  • Device/Os: [firefox]
  • Type: [Desktop/Mobile]
  • Browser and version [e.g. firefox]:
  • Hugo Version [ latest expected]:
  • Theme Version [master]:

Steps to reproduce the behavior:

  1. Go to my blog
  2. See post meta data date section

Expected behavior:
HTML as HTML not escaped

Repo/Source where this issue can be reproduced:
rathod-sahaab/blog

Screenshots
Remote:
image

Local:
image

Additional context

@rathod-sahaab rathod-sahaab added the bug Something isn't working label Nov 26, 2023
@adityatelange
Copy link
Owner

@adityatelange adityatelange added the duplicate This issue or pull request already exists label Nov 27, 2023
@adityatelange adityatelange pinned this issue Dec 9, 2023
@Aryaman73
Copy link

Aryaman73 commented Jan 18, 2024

Hello! I've been reencountering this issue on my paper mod website (link: https://www.aryamans.me). I'm also using the peaceiris github action to deploy my website using GH pages.

I'm a bit lost on what the best way to resolve the issue is - I've tried updating the hugo versions of my GitHub Action to no avail. Am I misconfiguring my page, or has this issue reappeared somehow?

Repo Link: https://github.com/Aryaman73/aryaman73.github.io/tree/master
GH Page Link: https://github.com/Aryaman73/aryaman73.github.io/blob/master/.github/workflows/gh-pages.yml

@guiyumin
Copy link

same here

https://notes.ossking.com/

Can anyone help us? Thanks

image

@danaoairuike
Copy link

Hello! I've been reencountering this issue on my paper mod website (link: https://www.aryamans.me). I'm also using the peaceiris github action to deploy my website using GH pages.

I'm a bit lost on what the best way to resolve the issue is - I've tried updating the hugo versions of my GitHub Action to no avail. Am I misconfiguring my page, or has this issue reappeared somehow?

Repo Link: https://github.com/Aryaman73/aryaman73.github.io/tree/master GH Page Link: https://github.com/Aryaman73/aryaman73.github.io/blob/master/.github/workflows/gh-pages.yml

Hey man, just use the master branch of PaperMod, and it has fixed the bug.

@danaoairuike
Copy link

same here

https://notes.ossking.com/

Can anyone help us? Thanks

image

Hey man, just use the master branch of PaperMod, and it has fixed the bug.

@Aryaman73
Copy link

@guiyumin (and to anyone encountering this issue), @danaoairuike is correct - update the PaperMod theme. The best way to do this is to just rm -rf ./themes and then clone it again using these instructions - the command I used was:

git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1

I'm still encountering some other issues dealing with this error - it may be related to this issue. If you do encounter this issue, I got around it by getting rid of the build step in the github workflow file, and running hugo build --minify locally and pushing those files. It's obviously not ideal, but at least my site is functioning again!

@redsnapper2006

This comment was marked as outdated.

@adityatelange adityatelange added the resolved Resolved Issue/Question label Apr 20, 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 duplicate This issue or pull request already exists resolved Resolved Issue/Question
Projects
None yet
Development

No branches or pull requests

6 participants