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

Publish Time, Read Time, Author, and Word Count not rendering correctly. [BUG] #1334

Closed
Normanras opened this issue Nov 16, 2023 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@Normanras
Copy link

NOTE: I looked through the other issues and didn't see this elsewhere. I can also confirm that in my previous post to my hugo site a few weeks ago, this was not occurring.

Describe the bug
After updating PaperMod today, I noticed that in both running a local server and my production server the span that contains the publish time, time to read, author, and word count is not formatted correctly and now shows:

<span title='2023-11-15 08:08:49 -0500 EST'>November 15, 2023</span>&nbsp;·&nbsp;6 min&nbsp;·&nbsp;1221 words&nbsp;·&nbsp;Me

When I inspect the element, it looks like the <span is being put inside double quotes, causing the HTML to not be rendered. I've included a screenshot below.

I originally noticed this when testing a new post that I published today, but looking back through my previous posts, it is occurring there as well. That's why I thought it might be a bug, since I hadn't changed anything in my hugo.toml nor have I edited those past posts.

Steps to reproduce the behavior:
I wish I had a clear understanding of how this happened. The only thing I changed in my workflow is I went to my themes directory and ran hugo mod get -u and there were no errors in running that command.

Expected behavior:
The HTML to be rendered and the elements within that span to show correctly.

Repo/Source where this issue can be reproduced:
My repo is private, but you can see the bug here.

Screenshots
Screenshot 2023-11-16 at 9 38 22 AM

Additional context
None.

@Normanras Normanras added the bug Something isn't working label Nov 16, 2023
@adityatelange
Copy link
Owner

#1325

@adityatelange adityatelange added the duplicate This issue or pull request already exists label Nov 16, 2023
@Normanras
Copy link
Author

Missed it! Thank you.

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
Projects
None yet
Development

No branches or pull requests

2 participants