Open sknebel opened 7 years ago
I think this is the source of an issue I have.
I just recently received a webmention from https://www.zylstra.org/blog/2019/05/7080/ that ended up with an implied name that contains all sorts of information but not the actual reply. You can see what I received at the bottom of this post https://www.jeremycherfas.net/blog/indiewebcamp-utrecht
gets a
name
property of"kilograms"
, correct would be"83.7 kilograms"
. The handling for generic properties is incorrectly implemented in a generic way that does not match the rules for implicit names, in this specific case: .h-x>abbr:only-child[title]:not([title=""]):not[.h-*] (from http://microformats.org/wiki/microformats-2-parsing#parsing_for_implied_properties) is implemented withonly-of-type
instead ofonly-child
in https://github.com/glennjones/microformat-shiv/blob/90c5ea5e43ae95fc460aef79f8c19832c6f1dc26/lib/parser-implied.js#L201, called via https://github.com/glennjones/microformat-shiv/blob/90c5ea5e43ae95fc460aef79f8c19832c6f1dc26/lib/parser-implied.js#L79This is correct for implied
photo
andurl
properties, but notname
.