Smarty 2.4.0: still problems with XML tags
| From: | philippe dot morange at ca-indosuez dot com | Date: | Tue, 04 Feb 2003 16:35:55 +0000 |
| Subject: | Smarty 2.4.0: still problems with XML tags | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7506@lists.php.net to get a copy of this message | ||
Hi,
XML tags in templates still give me problems in Smarty 2.4.0
If I write this in a template:
<?xml version="1.0" encoding="ISO-8859-1"?>
I'll get this in the compiled file:
<?php echo '<?xml'; ?> version="1.0"
encoding="ISO-8859-1"<?php echo '?>'; ?>
which finally outputs to the browser:
<?xmlversion="1.0" encoding="ISO-8859-1"?>
See the problem: I lose the space between 'xml' and 'version', and I get an
error with the result...