Re: [SMARTY-DEV] template changing output

From: Date: Tue, 18 Mar 2003 00:15:28 +0000
Subject: Re: [SMARTY-DEV] template changing output
References: 1 2 3  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-979@lists.php.net to get a copy of this message
On Mon, Mar 17, 2003 at 06:05:44PM -0600, Jason Sweat wrote: > Hi Monte, > > $this->autoload_filters = array( 'pre' => array('showinfoheader') > , 'output' => > array('trimwhitespace')); hmm, it seems to be trimwhitespace again. > ----- 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> > > > > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Fachhandel: Laden, der mehr als einen Gegenstand anbietet, so daß diese -&nbsp;um Konfusion zu vermeiden&nbsp;- typischerweise in »Fächer« sortiert werden müssen. Roman Hebert

« previous php.smarty.dev (#979) next »