template changing output
| From: | sweatjejm at mchsi dot com | Date: | Mon, 17 Mar 2003 23:25:34 +0000 |
| Subject: | template changing output | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-974@lists.php.net to get a copy of this message | ||
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