]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny.c: use case-sensitive comparisons for SVG element names
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 7 Jun 2025 16:25:33 +0000 (12:25 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 9 Jun 2025 01:13:07 +0000 (21:13 -0400)
commit1e4ac0e37714a0d28fd8305cbf8baa06536d0f7d
tree6c4c85e71ac878dd2f41bdcfc7db1c74e9b4bc32
parent86869400b16d3ca2307a3fb6a27eef78d9643b5d
src/svgtiny.c: use case-sensitive comparisons for SVG element names

SVG is XML and its element names are therefore case-sensitive. We
switch to case-sensitive comparisons to avoid rendering elements
(e.g. <RECT />) that other SVG clients (e.g. Firefox) will not.
src/svgtiny.c