petdance/html-lint — Issue #20: duplicate anchors
Author: kryde
Created: 2012-01-07 23:10:25+00:00
State: open

It'd be good if HTML::Lint noticed duplicated name="" etc anchors. I believe the specs call for anchors to be unique, and in any case if they're not then it's almost certainly some sort of mistake or typo by the author.

I get some joy from the patch below (is this awful gist thing the way to attach patches to tickets? :-(. It picked up some duplications in some of my html caused by too much cut and paste :-).

https://gist.github.com/1576415