Skip to content
New issue

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

Handling of empty properties #30

Open
sknebel opened this issue May 26, 2017 · 2 comments
Open

Handling of empty properties #30

sknebel opened this issue May 26, 2017 · 2 comments

Comments

@sknebel
Copy link

sknebel commented May 26, 2017

It seems like empty properties are (generally? often?) handled as non-existent. Example in which I noticed this is Martijn's h-card with <a href="" class="u-url u-uid p-name"><span class="p-given-name">Martijn</span> <span class="p-family-name">van der Ven</span></a>, which gets parsed as url: ["Martijn van der Ven", …], uid: ["Martijn van der Ven"] instead of correctly resolving the url to the current page.

(This was noticed using microformats-node, but happens using the -shiv chrome extension as well)

@sknebel
Copy link
Author

sknebel commented May 26, 2017

There was a similar php-mf2 bug recently: microformats/php-mf2#118

@sknebel
Copy link
Author

sknebel commented Jun 3, 2017

Important to note that this also applies to implied properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant