W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Re: Tidy muddles up </i> and </b>

From: Dave Raggett <dsr@w3.org>
Date: Fri, 1 Sep 2000 19:18:02 +0100 (GMT Daylight Time)
To: Dr Murray Longmore <ohcm@ohcs.demon.co.uk>
cc: Randy Waki <rwaki@flipdog.com>, html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10009011916310.-405663@hazel.hpl.hp.com>
On Fri, 1 Sep 2000, Dr Murray Longmore wrote:

> Dear Dave
> <html>
> <i>Acute </b>AF</i>
> </html>
> gets tidied to  <i>Acute </i>AF
> Italics gets stopped too soon. Can you help?!

This is intentional and reflects the way current browsers
handle such bad markup. They treat the </b> as closing the
<i> element. In fact any inline close tag closes the current
inline element.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Friday, 1 September 2000 14:22:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT