Re: [SMARTY-DEV] template changing output
| From: | Monte Ohrt | Date: | Mon, 17 Mar 2003 23:32:52 +0000 |
| Subject: | Re: [SMARTY-DEV] template changing output | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-976@lists.php.net to get a copy of this message | ||
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>