Re: Tidy adding returns inside xml elements

* Parsons, Rick wrote:
>The drawback is recent browser handling of certain XHTML elements. One we
>have discussed before is <script src="..." /> in the <head> section. This
>should be equivalent to <script src="..."></script> but many browsers don't
>handle it correctly.

XHTML is special, it is beeing parsed using the HTML parser, not the
generic XML parser, same for the pretty printer, hence this is not a
problem if people don't specify -xml because they think XHTML == XML.

(IMO, -xml should be ignored if root element is 'html' with XHTML
namespace).

Received on Friday, 12 July 2002 13:57:59 UTC