Skip to content

Strings with a % in them (not a placeholder) are being turned into functions. #904

Answered by djbe
oliverfoggin asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you have to escape your %, by changing it to %%.

It's because % e is a valid pattern for formatting a Float. See also #460 #577 #859 (and probably a bunch more).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by oliverfoggin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants