-
Fixed.
Added COERCE_TO_STARTTAG error.
is being fixed four times in parser.c, added error reporting to each of them. In this case, it is fixed around line 1494.
http://rafb.net/p/8pSEfn24.html
To apply the patch, in the tidy base dir do
patch -u -p0
2008-06-10 14:08:45 UTC in HTML Tidy
-
File Added: workaround-check_anchor.diff.
2008-06-10 11:17:44 UTC in HTML Tidy
-
File Added: workaround-check_anchor.diff.
2008-06-10 11:14:16 UTC in HTML Tidy
-
Yup, the fragment identifier (not anchor) is still ambiguous.
According to XHTML 1.0, the anchor's name attribute is deprecated and will be removed in subsequent versions [1]. So in my opinion it is safe to drop it, as the user explicitly chose XHTML as output format.
[1] http://www.w3.org/TR/xhtml1/#C_8.
2008-06-09 17:24:40 UTC in HTML Tidy
-
To reproduce the bug, run
tidy -asxhtml
on
The current version of Tidy produces something like
complaining ' anchor "foo" already defined'.
With the workaround, Tidy does not add id="foo" to...
2008-06-09 14:09:43 UTC in HTML Tidy
-
I would like to have my project incom deleted, since I have lost interest a long time ago, even before submitting any useable code.
2008-06-06 18:25:55 UTC in SourceForge.net
-
If the output format is XHTML, Tidy converts anchors from
to
regardless of whether another element already uses this id or not.
For now, I did a workaround that checks whether the id is in use already, before assigning it to the anchor. If the id exists, it is not being duplicated any more. Instead, an ANCHOR_NOT_UNIQUE error is...
2008-06-06 18:13:07 UTC in HTML Tidy
-
milahu registered the instant community project.
2005-09-16 21:41:55 UTC in instant community