* Jany Quintard wrote: >I tried this: >cat test.html | tidy -i > >with test.html: ><body> > <div class="t1"> > <div class="t2"> > test > </div> > </div> ></body> Use -clean and you will get <body> <div class="t1 t2"> test </div> </body> In basically any recent version. Tidy 04 August 2000 would give <body> <div class="t1"> test </div> </body> In clean.c we have /* Symptom <div><div>...</div></div> Action: merge the two divs This is useful after nested <dir>s used by Word for indenting have been converted to <div>s */ As I've said, `--merge-divs no` would disable this behavior.Received on Friday, 14 May 2004 03:39:40 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 13:57:18 GMT