Skip to content

Strip markdown from og:description meta tags

Nathan Friend requested to merge nfriend-strip-markdown-from-og-description into master

What does this MR do?

Partially completes #22526 by updating all page_descriptions (which ultimately are rendered as og:description tags) to use the HTML version of the description instead of the markdown version (when available).

This has the effect of stripping all markdown formatting from the text, because page_description strips out all HTML.

Screenshots

Before After
Content of og:description tag og_description_before og_description_after
Example issues on Facebook image image
Example issues in Slack image image
Edited by Nathan Friend

Merge request reports