microformats / tests

Microformats test suite
http://microformats.org/wiki/microformats2
Creative Commons Zero v1.0 Universal
64 stars 20 forks source link

h-card test has duplicate nested property on top-level #15

Closed barnabywalters closed 9 years ago

barnabywalters commented 10 years ago

https://github.com/microformats/tests/blob/master/h-card.html#L212

The p-org h-card turns up twice in the JSON, once in the correct nested place, and once in the top-level items list. This is inconsistent with the parsing spec, which dictates that nested microformats should just be nested as per http://microformats.org/wiki/microformats2-parsing#parse_an_element_for_class_microformats

cc @tobiastom

glennjones commented 9 years ago

Hi Barnaby

Yes this error was in a number of tests. I have now gone through them all and corrected the issue.

cc @tobiastom