Start a new topic

Hide <details> contents in opengraph metadata

Presently, if you make a post using <details>/<summary> to hide some content in a post (perhaps spoilers for some movie, game, etc), the contents are plainly visible in the post's opengraph description metadata, and thus rendered into any off-site embeds (in discord, etc).

I feel like it makes more sense to only render the text from the <summary> into the description, omitting the rest of the <details> so as not to leak the contents.

1 person has this problem
Login or Signup to post a comment