We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<div class="h-entry h-----"> <p> <a href="http://example.com/post" class="u-in-reply--to">http://example.com/post posted:</a> </p> <span class="p-name">Too many dashes</span> <span class="p--acme-leading">leading dash</span> <span class="p-acme--middle">middle dash</span> <span class="p-acme-trailing-">trailing dash</span> </div>
Currently parses:
{ "items": [ { "type": [ "h-----", "h-entry" ], "properties": { "name": [ "Too many dashes" ], "-acme-leading": [ "leading dash" ], "acme--middle": [ "middle dash" ], "acme-trailing-": [ "trailing dash" ], "in-reply--to": [ "http://example.com/post" ] } } ], "rels": {}, "rel-urls": {}, "debug": { "package": "https://packagist.org/packages/mf2/mf2", "version": "v0.4.1", "note": [ "This output was generated from the php-mf2 library available at https://github.com/indieweb/php-mf2", "Please file any issues with the parser at https://github.com/indieweb/php-mf2/issues" ] } }
Expected output via mf2py dev
{ "rels": {}, "items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Too many dashes" ] } } ], "rel-urls": {}, "debug": { "source": "https://github.com/microformats/mf2py", "version": "1.1.0", "markup parser": "html5lib", "description": "mf2py - microformats2 parser for python" } }
Per spec update: microformats/microformats2-parsing#31
The text was updated successfully, but these errors were encountered:
Add failing tests and fixes for microformats#158, microformats#160
4787005
Merge pull request #161 from gRegorLove/issue158
743d979
Add failing tests and fixes for #158, #160
No branches or pull requests
Currently parses:
Expected output via mf2py dev
Per spec update: microformats/microformats2-parsing#31
The text was updated successfully, but these errors were encountered: