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

need two runs

From: Dan Jacobson <jidanni@yam.com.tw>
Date: 07 Dec 2001 17:21:51 +0800
To: html-tidy@w3.org
Message-ID: <m2r8q775cg.fsf_-_@Mdan.jacobson.tw>
Firstly i would like to commend tidy on being such a critical piece of
software [if something goes wrong then "my web pages are ruined" :-(
], OK,

It seems two runs in a row are required until I've got a file tidyed
till it can't be tidyed anymore.  "This thing doesn't have a self
adjusting spin cycle, so I had to run it again before I got the
whitest whites" as Suzy Homemaker would say.

you see, first I strip all the big5 chars out of a file to make an
alternative english version...

make english
b5strip mapping.htm|sed '1,/content="zh-tw">/{/<META/,/content="zh-tw">/d;}'>mapping_en.html
tidy01nov01 -qm mapping_en.html
mapping_en.html:59:10: Warning: trimming empty <em>
mapping_en.html:176:7: Warning: trimming empty <h3>
mapping_en.html:330:6: Warning: trimming empty <p>
make: [mapping_en.html] Error 1 (ignored)
tidy01nov01 -q mapping_en.html|diff mapping_en.html -
mapping_en.html:57:6: Warning: trimming empty <p>
mapping_en.html:309:6: Warning: trimming empty <p>
mapping_en.html:311:13: Warning: trimming empty <small>
mapping_en.html:311:21: Warning: trimming empty <p>
mapping_en.html:325:6: Warning: trimming empty <p>
mapping_en.html:327:6: Warning: trimming empty <p>
57,58d56
<   <P></P>
< 
308,311d305
< 
<   <P></P>
< 
<   <P><SMALL></SMALL></P>
324,327d317
< 
<   <P></P>
< 
<   <P></P>
make: [mapping_en.html] Error 1 (ignored)
tidy01nov01 -qm mapping_en.html
mapping_en.html:57:6: Warning: trimming empty <p>
mapping_en.html:309:6: Warning: trimming empty <p>
mapping_en.html:311:13: Warning: trimming empty <small>
mapping_en.html:311:21: Warning: trimming empty <p>
mapping_en.html:325:6: Warning: trimming empty <p>
mapping_en.html:327:6: Warning: trimming empty <p>
make: [mapping_en.html] Error 1 (ignored)
tidy01nov01 -q mapping_en.html|diff mapping_en.html -
tidy01nov01 -qm mapping_en.html
tidy01nov01 -q mapping_en.html|diff mapping_en.html -
-- 
http://www.geocities.com/jidanni/ Tel+886-4-25854780
Received on Friday, 7 December 2001 12:12:27 GMT

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