]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny.c: use case-sensitive comparisons for SVG element names
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 19 Nov 2023 16:39:13 +0000 (11:39 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 20 Nov 2023 16:42:58 +0000 (11:42 -0500)
commit099cae0989f0ef3db52de99fb0d1e562465f5a02
tree196a7123015d4b0a64d1ebad1202c7f179907c51
parent769370e4af8cac840b745782a5c904e0e0570a90
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