Fix incorrect XML header in some environments

This commit is contained in:
Kijin Sung 2025-08-13 21:03:03 +09:00
parent 36d7dcebcd
commit b00f956d6b
4 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{'<?xml version="1.0" encoding="UTF-8" ?>'}
<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>
<config autoescape="on" />
<feed xmlns="http://www.w3.org/2005/Atom">
@ -25,4 +25,4 @@
<category cond="$oDocument->get('category_srl') && $category_name = $category_list[$oDocument->get('module_srl')][$oDocument->get('category_srl')]->title" term="{$oDocument->get('category_srl')}" label="{Context::replaceUserLang($category_name)}" />
<category loop="$oDocument->get('tag_list')=>$tag" term="{$tag}"/>
</entry>
</feed>
</feed>