Date: | Thu, 1 Jul 2004 17:34:44 -0400 |
To: | bug-html-tidy [...] rt.cpan.org |
Subject: | clean() behavior on test file vs tidy utility |
From: | intrepid <intrepid [...] perlmonk.org> |
Hello Andy,
A document is attached which is the test data. Below is the diff between
that original document and what the "tidy" cli utility outputs. The
HTML::Tidy module method clean() makes no changes at all in the same
data.
My expectation was that clean() in HTML::Tidy, applied to this data,
would perform roughly the same operations on the data that the cli
utility did.
Thanks,
Soren A.
===== cut here ============
*** tidy_buildlog.html Tue Jan 28 21:34:05 2003
--- /tmp/diff-tidy-util-action Thu Jul 1 17:26:39 2004
***************
*** 1,11 ****
! <tt><font face='' style=' font-family:
! 9pt "anonymous" ,
! 10pt "lucida console" ,
! 10pt "andale mono" ,
! 10pt "lucida sans typewriter" ,
! 10pt "onuava" ,
! 10pt "crystal" ,
! 10pt "monospace 821 bt" ,
! 10pt "courier new" , monospaced;
! letter-spacing: 0; line-height: 1.4;
! '><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/attrs.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/istack.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/parser.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/tags.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/entities.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/lexer.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/pprint.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/clean.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/localize.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/config.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ ./src/tidy.c -c</span><span style='color: black; background: black; '><br></span><span style='color: magenta; background: black; '>gcc -I ./include/ -o tidy ./attrs.o ./istack.o ./parser.o ./tags.o ./entities.o . .. .o ./tidy.o -lc</span><span style='color: black; background: black; '><br><br><br></span></font></tt>
\ No newline at end of file
--- 1,38 ----
! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
! <html>
! <head>
! <meta name="generator" content="HTML Tidy {w/ hacks by:somian} for Linux/x86 (vers 1st June 2004)">
! <title></title>
! </head>
! <body>
! <tt><font face='' style=
! 'font-family: 9pt "anonymous" , 10pt "lucida console" , 10pt "andale mono" , 10pt "lucida sans typewriter" , 10pt "onuava" , 10pt "crystal" , 10pt "monospace 821 bt" , 10pt "courier new" , monospaced; letter-spacing: 0; line-height: 1.4;'>
! <span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/attrs.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/istack.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/parser.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/tags.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/entities.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/lexer.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/pprint.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/clean.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/localize.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/config.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ ./src/tidy.c -c</span><span style='color: black; background: black;'>
! <br></span><span style=
! 'color: magenta; background: black;'>gcc -I ./include/ -o tidy ./attrs.o ./istack.o ./parser.o ./tags.o ./entities.o . .. .o ./tidy.o -lc</span><span style='color: black; background: black;'>
! <br>
! <br>
! <br></span></font></tt>
! </body>
! </html>
Message body not shown because it is not plain text.