[Zope] HTML validation failure with DTML-renders -- ends tag with />
Mon, 1 Oct 2001 06:47:13 -0400
Using /> is compliant with XHTML.
----- Original Message -----
From: "Trevor Toenjes" <firstname.lastname@example.org>
Sent: Monday, October 01, 2001 00:18
Subject: [Zope] HTML validation failure with DTML-renders -- ends tag with
> I tried validating Zope's HTML for the first time and
> I have come across something strange...
> Zope inserts '/>' as the close, instead of just '>'
> for the automatic '<img src...' created when calling an image with DTML.
> Here is my code just to make sure I am not doing something stupid.
> bullet is a .gif.
> <dtml-var bullet>
> <img src="zope/bullet" alt="" height="14" width="13" border="0" />
> It also seems to do this for SiteRoot's insertion into the header.
> <base href="http://www.myzope.com/folder/folder/" />
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )