I just copied and pasted the code to an Ubuntu VM using WSL, and when I compile it I get this warning
htmltidy.c: In function ‘dumpNode’:
htmltidy.c:56:9: warning: format not a string literal and no format arguments [-Wformat-security]
56 | printf(tidyAttrName(attr));
| ^~~~~~
I just copied and pasted the code to an Ubuntu VM using WSL, and when I compile it I get this warning
and when I run the binary I get:
(same happens when I comment out the printf that causes the warning)
The text was updated successfully, but these errors were encountered: