Public bug reported: Binary package hint: tidy
The following HTML causes libtidy to produce invalid tags: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><body> <p><b><i><a href="A"> <big>B</i></b>C</a></p> </body></html> The result of running this through the tidy command line is: $ tidy -w0 t.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" /> <title></title> </head> <body> <p><b><i><a href="A"><big>B</big><�>��>C</�>��></a></i></b></p> </body> </html> The invalid tags change on each run, looking like use after free kind of problem. This is running on Ubuntu 10.04 LTS, updated recently. Linux 2.6.32-22-generic #35-Ubuntu SMP Tue Jun 1 14:18:25 UTC 2010 x86_64 GNU/Linux /etc/tidy.conf only contains comments. there are no other tidy configuration files Using LD_PRELOAD I tested the libtidy from earlier distributions; only the version from libtidy-0.99-0_20051018-1_amd64.deb does not show this effect. ** Affects: tidy (Ubuntu) Importance: Undecided Status: New -- libtidy creates invalid tags https://bugs.launchpad.net/bugs/589574 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs