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

Formating goes wrong if apostrophe between backticks in comment. #22

Closed
divinerites opened this issue May 13, 2021 · 3 comments
Closed

Comments

@divinerites
Copy link

divinerites commented May 13, 2021

Problem with d'accueil

1 - double quote and with apostrophe = OK

{{ "<!-- Hero Area Image d'accueil -->" | safeHTML }}

2 - backticks and without apostrophe = OK

{{ `<!-- Hero Area Image d accueil -->` | safeHTML }}

3 - backticks and with apostrophe = Problem

{{ `<!-- Hero Area Image d'accueil -->` | safeHTML }}

Capture d’écran 2021-05-13 à 14 21 50

Capture d’écran 2021-05-13 à 14 21 33

Capture d’écran 2021-05-13 à 14 23 29

@budparr
Copy link
Member

budparr commented May 13, 2021

@divinerites the fix will be published shortly. Thanks for bringing it up!

@divinerites
Copy link
Author

hey, thank YOU regis & bud for this great great tool.
It's a real corner case (and found thru a nasty hugo bug). Nothing mainstream I guess :-)

@divinerites
Copy link
Author

Hello, I updated to the v1.3.1. But it seems that it doesn't solve my exact use case. Not sure why.

Capture d’écran 2021-05-14 à 15 13 30

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

No branches or pull requests

2 participants