[UPHPU] Smarty's playing with my mind... and my end tags

Alvaro Carrasco alvaro at epliant.com
Sun May 13 11:33:30 MDT 2007


Velda Christensen wrote:
> Hey guys and Sheri,
>
> I just need to be pointed in the right direction.  There has to be a 
> good reason for this, but I'm not finding my answers in google or on 
> smarty's site.  Any idea why smarty would turn this:
>
> <object width="200" height="165">
> <param name="movie" value="xyz" />
> <param name="wmode" value="transparent" />
> <embed src="xyz" type="application/x-shockwave-flash" 
> wmode="transparent" width="200" height="165" />
> </object>
>
> or this:
>
> <object width="200" height="165">
> <param name="movie" value="xyz"></param>
> <param name="wmode" value="transparent"></param>
> <embed src="xyz" type="application/x-shockwave-flash" 
> wmode="transparent" width="200" height="165" ></embed>
> </object>
>
> into this?
>
> <object height="165" width="200">
> <param name="movie" value="xyz">
> <param name="wmode" value="transparent">
> <embed src="xyz" type="application/x-shockwave-flash" 
> wmode="transparent" height="165" width="200">
> </object>
>
> Notice my closing tags are gone with the wind.  And oddly, my height 
> and width tags are switched too.  I've even tried using {literal} 
> tags, to no avail.  I'm sure Smarty is doing some round about favor. I 
> just can't figure out why yet.
>
> Any direction you give me would be much appreciated :)
>
> -Velda
>
>
Do you have any smarty tags on your template? I'm pretty sure that 
smarty won't touch any of your code unless you tell it to. Can you post 
the entire template?

Alvaro



More information about the UPHPU mailing list