php-sitemap-generator icon indicating copy to clipboard operation
php-sitemap-generator copied to clipboard

Remove function call htmlspecialchars from XMLWriter

Open jwv opened this issue 3 years ago • 0 comments

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&param2=2&param3=3 => https://example.com/index.php?param1=1&param2=2&param3=3

image image image

jwv avatar Aug 18 '22 11:08 jwv