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

Brandon Stout bms at mscis.org
Wed May 16 01:17:33 MDT 2007


Randy Moller wrote:

> This looks suspiciously like a DTD issue (rather than a "Smarty" problem). What DTD are you using? Xhtml? If so, my guess is that's the issue. As far as I know, in a "strict" xhtml environment, the param tag doesn't have an end tag, and the xhtml DTD may well be stripping it (not Smarty).
>
> Randy Moller

Actually it's just the opposite.  XHTML is a bridge between XML and HTML 
- and XML requires closure for all tags.  XHTML requires a close for 
/all/ tags.  If anything, an xhtml strict dtd should /add/ a close tag 
or self-close where one does not exist.

Brandon Stout
http://mscis.org


More information about the UPHPU mailing list