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

Weirdness with categories in mf2 output #141

sknebel opened this Issue Mar 14, 2018 · 1 comment


None yet
2 participants

sknebel commented Mar 14, 2018

turns html with mf2 like

<li class="h-entry">
<a href="/tag/spotify" class="p-category">spotify</a>


      "type": [
      "properties": {
        "category": [
            "type": [
            "properties": {
              "name": [

which looks like it's trying to build some kind of nested object for the category?


This comment has been minimized.


snarfed commented Mar 15, 2018

interesting! yeah that should probably be a plain string and not a nested object, like how does it.

given the prevalence of mf2 parsers, html -> mf2 json is a rare use case for granary, so I'm not surprised it has warts like this... but still, easily fixable. thanks for filing!

@snarfed snarfed closed this in 2f96274 Mar 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment