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

fix: Avoid double escaping when using post description #190

Merged
merged 2 commits into from
Jun 7, 2020

Conversation

palant
Copy link
Collaborator

@palant palant commented Jun 5, 2020

I noticed an issue when a description is deduced from a post starting with something like It's a nice weather outside. The typographer Goldmark extension turns this into It’s a nice weather outside. and I see this entity escaped twice in the meta tag then. It seems that | plainify should always be applied in connection with | htmlUnescape.

@palant palant merged commit 44d4198 into master Jun 7, 2020
@palant palant deleted the double-escaping branch June 7, 2020 10:55
ulmefors pushed a commit to ulmefors/hugo-theme-meme that referenced this pull request Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants