Re: [SMARTY] Smarty 2.4.0: still problems with XML tags

From: Date: Tue, 04 Feb 2003 16:39:10 +0000
Subject: Re: [SMARTY] Smarty 2.4.0: still problems with XML tags
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7508@lists.php.net to get a copy of this message
I can't reproduce your error. <?xml foobar ?> should render to: <?php echo '<?xml'; ?> foobar <?php echo '?>'; ?> Do you not get the newline after the ?> tag? Monte On Tue, 2003-02-04 at 10:35, philippe.morange@ca-indosuez.com wrote: > 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... -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.general (#7508) next »