Broken link in OpenGraph description for a category

What and who is affected by this issue/request?

The og:description meta tag for the Foundation category contains HTML links. This does not display correctly in at least some OpenGraph consumers.

Where on the platform does it happen?

This is visible with links to this platform from social sites. Here is an example screenshot from Element:

How do we replicate the issue?

Share a link to a category that has a link in its description on Element.

Expected behavior (i.e. solution)

Depending on how the OpenGraph standard is to be interpreted, it is possible that og:description should be plain text. In this case, Discourse should either strip links from the description before outputting it in the meta tag, or we have to consider whether we forgo links in category descriptions.

6 posts - 4 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/broken-link-in-opengraph-description-for-a-category/1703