EDIT: on web, it renders like this

  • flamingos-cant
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 day ago

    In the ActivityPub JSON for this post, there is no indication that this field contains MarkDown. If anything, it says the opposite, it says it contains HTML. It’s therefore not unreasonable for other platforms to render it as such.

    Actually, the name property is explicitly plain text, it shouldn’t contain any type of markup, whether that be markdown or HTML.

    • Andrew@piefed.social
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Oh, wow. Thanks.

      For clarity, I wasn’t intending to say that PieFed treats that field as HTML (it treats it as text), I just meant that if you were looking at that JSON, and being a bit lazy like me and not looking at specs, then it wouldn’t be unreasonable to assume that the ‘mediaType’ field also refers to ‘name’ (rather than a ‘content’ field which this post doesn’t happen to have).

      Anyway, this seems to be even more reason why MD shouldn’t be put in titles, and front-ends shouldn’t be encouraging the practise by rendering it.

      • Kat@orbi.camp
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        Eh, I’ll probably use italics tho, just like I did * in reddit.