Hello all,

I fixed a bug within a RSS-Feed caused by Smarty's parser.
The problem is, that it gets confused by the XML-header's opening and
closing tags:

<?xml version="1.0" encoding="UTF-8" ?>

becomes to (including a leading and a trailing whitespace)
 version="1.0" encoding="UTF-8"

You can try this workaround to "fix" this issue by using

[{assign var="xmlOpen" value="<?"}]
[{assign var="xmlClose" value="?>"}]
[{$xmlOpen}]xml version="1.0" encoding="[{$oView->getCharSet()}]"
[{$xmlClose}]

instead in rss.tpl (of course without a linebreak, some eMail-clients
will display it wrongly).

Kind regards,
Mitch
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to