- From: Jany Quintard <jany.quintard@free.fr>
- Date: Fri, 14 May 2004 09:16:29 +0200
- To: html-tidy@w3.org
- Cc: Steffen Glückselig <steffen@gungfu.de>
* Steffen Glückselig [Fri, 14/05/2004 at 00:02 +0200]
>
> Hello,
>
> a while ago I've already asked with no success. Since I still have the
> problem and couldn't find a solution elsewhere I ask again:
>
> given markup like
> <div class="t1">
> <div class="t2">
> test
> </div>
> </div>
A remark: the div are not consecutive. One is inside the other.
I tried this:
cat test.html | tidy -i
with test.html:
<body>
<div class="t1">
<div class="t2">
test
</div>
</div>
</body>
and got this result:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 1st March 2002), see www.w3.org">
<title></title>
</head>
<body>
<div class="t1">
<div class="t2">
test
</div>
</div>
</body>
</html>
which seems perfectly correct.
Could you show us your config or command line?
And give the version you are using?
Jany
Received on Friday, 14 May 2004 03:24:01 UTC