Skip to content

Weirdness with categories in mf2 output #141

@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?

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