Skip to content

Weirdness with categories in mf2 output #141

Closed
@sknebel

Description

@sknebel

https://granary.io/url?input=html&output=mf2-json&url=https%3A%2F%2Faaronparecki.com%2F2018%2F03%2F14%2F3%2F

turns html with mf2 like

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

into

      "type": [
        "h-entry"
      ], 
      "properties": {
        "category": [
          {
            "type": [
              "u-category"
            ], 
            "properties": {
              "name": [
                "spotify"
              ]
            }
          }
        ], 

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions