Closed gRegorLove closed 6 years ago
Minimal example from https://aaronparecki.com/2018/03/21/18/
<li class="h-entry"> <data class="p-name" value="Coffee"></data> <div class="p-p3k-drank h-p3k-food"> <span class="value">Coffee</span> </div> </li>
Currently parses:
"items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Coffee" ] } } ]
Expected output via mf2py dev
"items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Coffee" ], "p3k-drank": [ { "type": [ "h-p3k-food" ], "properties": { "name": [ "Coffee" ] }, "value": "Coffee" } ] } } ]
Per spec update: https://github.com/microformats/microformats2-parsing/issues/28
See also: https://github.com/kartikprabhu/mf2py/blob/experimental/test/examples/class_names_format.html
Minimal example from https://aaronparecki.com/2018/03/21/18/
Currently parses:
Expected output via mf2py dev
Per spec update: https://github.com/microformats/microformats2-parsing/issues/28