Don't complain about an id immediately followed by a name.
Some documentation uses markup of the form:
<div id="foo"><h1><a name="foo"></a>Foo</h1>
...
</div>
This was appearing as a duplicate bookmark, but it's valid. So allow an
id
immediately followed by an identical name
. Could allow some
problematic markup but it's the best I could come up with without
a html parser.