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

HTML Tidy Bug Report - markup = no causes no output

From: Jamie Macey <jamie@bravenet.com>
Date: Mon, 08 Nov 2004 15:35:59 -0800
Message-ID: <419002DF.8040502@bravenet.com>
To: html-tidy@w3.org

Tidy does not function correctly when the markup option is unset.

Running 'HTML Tidy for Linux/x86 released on 1st August 2004' on Gentoo 
Linux, GCC version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, 
pie-8.7.6.5).  Also tested on Red Hat Linux 7.3, GCC version 2.96-113

If the markup option is set, no output is returned from the commandline 
tool, and when running through the PHP Tidy extension, it causes a 
segmentation fault in PHP.

Data follows between --- marks.

  - Jamie



Sample data:

test.htm:
---
<p>hi</p>this is <a
href=
"blah">test</a>

<b>a test</i>
you see
---

markup.cfg:
---
show-body-only: yes
show-warnings: no
---

nomarkup.cfg:
---
markup: no
show-body-only: yes
show-warnings: no
---



Output:

tidy -config markup.cfg test.htm
---
Info: Document content looks like HTML 3.2
3 warnings, 0 errors were found! Not all warnings/errors were shown.

<p>hi</p>
this is <a href="blah">test</a> <b>a test</b> you see

To learn more about HTML Tidy see http://tidy.sourceforge.net
Please send bug reports to html-tidy@w3.org
HTML and CSS specifications are available from http://www.w3.org/
Lobby your company to join W3C, see http://www.w3.org/Consortium
---

tidy -config markup.cfg test.htm
---
Info: Document content looks like HTML 3.2
3 warnings, 0 errors were found! Not all warnings/errors were shown.


To learn more about HTML Tidy see http://tidy.sourceforge.net
Please send bug reports to html-tidy@w3.org
HTML and CSS specifications are available from http://www.w3.org/
Lobby your company to join W3C, see http://www.w3.org/Consortium
---
Received on Monday, 8 November 2004 23:33:16 GMT

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