sprig icon indicating copy to clipboard operation
sprig copied to clipboard

apostrophes are transformed by printf function

Open jotego opened this issue 1 year ago • 1 comments

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.

jotego avatar Dec 04 '23 09:12 jotego

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

chrishalbert avatar Dec 20 '23 22:12 chrishalbert