Re: [SMARTY-DEV] template changing output
| From: | Jason Sweat | Date: | Tue, 18 Mar 2003 00:05:44 +0000 |
| Subject: | Re: [SMARTY-DEV] template changing output | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-978@lists.php.net to get a copy of this message | ||
Hi Monte,
$this->autoload_filters = array( 'pre' => array('showinfoheader')
, 'output' =>
array('trimwhitespace'));
----- Original Message -----
From: "Monte Ohrt" <monte@ispi.net>
To: <sweatjejm@mchsi.com>
Cc: "Smarty Dev" <smarty-dev@lists.php.net>
Sent: Monday, March 17, 2003 5:32 PM
Subject: Re: [SMARTY-DEV] template changing output
> I cannot reproduce your problem. Do you have any pre/post filters going?
>
> Monte
>
> On Mon, 2003-03-17 at 17:25, sweatjejm@mchsi.com wrote:
> > I have an issue with including more than one script in the head of a
document.
> > Using the cvs version of smarty with the following template:
> >
> > <html>
> > <head>
> > <title>test</title>
> > <script language="JavaScript" type="text/javascript"
src="test1.js"></script>
> > <script language="JavaScript" type="text/javascript"
src="test2.js"></script>
> > </head>
> > <body>
> > <h1>test</h1>
> > </body>
> > </html>
> >
> > The following output is produced:
> > <!-- Smarty 2.5.0-RC1 2003-03-17 17:23:55 CST -->
> > <html>
> > <head>
> > <title>test</title>
> > <script language="JavaScript" type="text/javascript"
src="test1.js"></script>
> > <script language="JavaScript" type="text/javascript"
src="test1.js"></script>
> > </head>
> > <body>
> > <h1>test</h1>
> > </body>
> > </html>
> >
> > Notice that the first script name is repeated twice. Can this be
somehow
> > related to any of the regex cleanup lately?
> >
> > Thanks.
> >
> > Jason
> --
> Monte Ohrt <monte@ispi.net>
>