indent correctly the xml
This commit is contained in:
parent
eef4a1f2a7
commit
5e7d408621
1 changed files with 4 additions and 5 deletions
|
|
@ -170,9 +170,8 @@ $html=escape_xml($html);
|
|||
header('Content-type: text/xml; charset=UTF-8');
|
||||
echo <<<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<data>
|
||||
<ctl>$ctl</ctl>
|
||||
<code>$html</code>
|
||||
</data>
|
||||
|
||||
<data>
|
||||
<ctl>$ctl</ctl>
|
||||
<code>$html</code>
|
||||
</data>
|
||||
EOF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue