Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity escaping in XML output #416

Open
dacook opened this issue Sep 29, 2022 · 0 comments
Open

Entity escaping in XML output #416

dacook opened this issue Sep 29, 2022 · 0 comments

Comments

@dacook
Copy link

dacook commented Sep 29, 2022

According to https://www.sitemaps.org/protocol.html#escaping, the following entities in XML content should be escaped:

Character Escape Code
Ampersand & &
Single Quote ' '
Double Quote " "
Greater Than > >
Less Than < &lt;

But I've observed at least the ampersand is not escaped, eg:

<loc>https://members.ceresfairfood.org.au/categories/fruit-&-veg</loc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant