#microformats 2025-05-30

2025-05-30 UTC
lifeofpablo, gRegor, gRegorLove_, [qubyte], barnaby, _sisoma[d], duanin2, [snarfed], btrem, [Murray], btrem1 and [benji] joined the channel
#
[benji]
Quick microformats check that I'm seeing inconsistent parsing results between parsers:
#
[benji]
<div class="h-card"><img src="/photo.jpg"/>Name</div>
#
[benji]
returns the implied name as "Name".
#
[benji]
some parsers return "Name" but others use the empty alt text instead.
#
[benji]
but for the following:
#
[benji]
<div class="h-card"><img src="/photo.jpg" alt=""/>Name</div>
#
[benji]
if I'm reading this correctly, the alt text should only be used if non empty. Does that seem right?
#
GWG
watches for the discussion
balintm and barnaby joined the channel