W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

RE: Segfault in HTML Tidy

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Sat, 27 Nov 1999 13:08:44 -0500
To: <html-tidy@w3.org>
Cc: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Message-ID: <NBBBICMNIPCICMKJECCBKEHNDCAA.jelks@jelks.nu>
> The following code makes HTML Tidy segfault on my glibc 2.1 system:

> <body>
> <b><p>test</p>      <!-- crash on this line -->
> </body>

Maybe something with glibc?  I ran the Windows executable on your markup and it
did this (without crashing):

	<body>
	<b>test<br>
	<br>
	</b>
	</body>

If I set "enclose-text: yes" (wraps loose text in BODY in Ps) it instead does
this:

	<body>
	<p>test</p>

	<p></p>
	</body>

(Note: it put's that empty P element in even though "drop-empty-paras: yes" was
set.)

/Jelks
Received on Saturday, 27 November 1999 13:09:34 GMT

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