LogSource/arise-source/posts/ci-xml-reserved-characters/index.md
Wheaterwax 0faf445b39
Some checks are pending
Deploy Arise to html branch / Deploy Arise (push) Waiting to run
initial commit with stuff from arise
2025-09-01 18:57:24 -03:00

1.1 KiB

CI Test Suite - XML Reserved Characters

This page is part of a test suite to ensure that when a user tries to stick XML reserved characters into page metadata, such characters are properly converted to escape characters. This way we ensure that such characters don't break the monolithic sitemap or RSS feed.

The way we do this is by having a test page in our template site which contains a post whose title, author, and destripction all contain the XML reserved characters (&<>'"). This test suite verifies that this output page has all of the reserved characters properly sanitised to the escape code versions, so that they're safe to handle within the site's XML sitemap and RSS feed.