Re: [SMARTY-DEV] template changing output

From: Date: Tue, 18 Mar 2003 13:37:30 +0000
Subject: Re: [SMARTY-DEV] template changing output
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-986@lists.php.net to get a copy of this message
Looks like the cvs version of the trimwhitespace filter worked correctly. Thanks. > 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')); > > i updated trimwhitespace in cvs. give it a try. > > > ----- 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>

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