php-sitemap-generator
php-sitemap-generator copied to clipboard
Remove function call htmlspecialchars from XMLWriter
Hi,
The function htmlspecialchars($loc, ENT_QUOTES) no need be call because xmlWriter already convert special characters and was small bug with & (ampersand ).
For example when add URL with & was convert to &
Examples:
https://example.com/index.php?param1=1¶m2=2¶m3=3 => https://example.com/index.php?param1=1&param2=2&param3=3
