W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

New bug in Tidy?

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Fri, 24 Mar 2000 11:45:45 -0600
To: <html-tidy@w3.org>
Message-ID: <OF77D1F7B2.9CE83256-ON86256885.007178F6@rfdinc.com>

I have demoed Tidy to a number of people in the past, and one of my
presentations is to take a single-line "document" containing only:

      <li>This line starts with a bullet!

and running it through Tidy.  A few days ago, I did this demo and saw
I had never seen before.  Here is the XTHML it generates:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      <html xmlns="http://www.w3.org/1999/xhtml">
      <title></title>      <body>
      <ul style="margin-left: -2em">
      <li>This line starts with a bullet!</li>      </body>

Note the style attribute inserted into the ul element. ???

When viewed in the browser, it reads " line starts with a bullet" --
the word "This" as expected.  Tidy wasn't given any options (like -clean).
trust this is just a bug -- I hope Tidy doesn't start inserting unrequested
style attributes into elements!  :)

Received on Friday, 24 March 2000 12:46:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC