- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 14 May 2004 09:36:00 +0200
- To: jany.quintard@free.fr
- Cc: html-tidy@w3.org, Steffen Glückselig <steffen@gungfu.de>
* 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 UTC