Commit 757e77a3 authored by Dave Reid's avatar Dave Reid

Fixed XMLSitemapWriter::writeElement() should check_plain() items by default.

parent 2b2610b8
......@@ -148,7 +148,7 @@ class XMLSitemapWriter extends XMLWriter {
$this->endElement();
}
else {
parent::writeElement($name, $content);
parent::writeElement($name, check_plain((string) $content));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment