Closed kartikprabhu closed 6 years ago
According to spec http://microformats.org/wiki/microformats2-parsing#note_backward_compatibility_details any mf2 properties inside a mf1 root should be ignored.
<div class="hentry"> <span class="p-name">Wrong name</span> <span class="entry-title">Correct name</span> <span class="p-summary">Wrong summary</span> <span class="entry-summary">Correct summary</span> </div>
"items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Wrong name", "Correct name" ], "summary": [ "Wrong summary", "Correct summary" ] } } ]
"items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Correct name" ], "summary": [ "Correct summary" ] } } ]
This is fixed in the current master branch. https://pin13.net/mf2-dev/?id=20180310151320713
lgtm should have checked that first
According to spec http://microformats.org/wiki/microformats2-parsing#note_backward_compatibility_details any mf2 properties inside a mf1 root should be ignored.
HTML
Current output from pin13
Expected output