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

apostrophes are transformed by printf function #389

Open
jotego opened this issue Dec 4, 2023 · 1 comment
Open

apostrophes are transformed by printf function #389

jotego opened this issue Dec 4, 2023 · 1 comment

Comments

@jotego
Copy link

jotego commented Dec 4, 2023

Using printf "'hello" will generate the text ''hello. It looks like there is some internal conversion that reminds me of XML going on inside the library.

@chrishalbert
Copy link

If you are using the html/template go template package, I think printf would html encode the apostrophe. Can you include more details?

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