mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 19:23:41 +01:00
Strip tags from og:description on public tag page (#7437)
This commit is contained in:
parent
0a7e8320b2
commit
bd5f57cbc3
1 changed files with 1 additions and 1 deletions
|
@ -2,5 +2,5 @@
|
|||
= opengraph 'og:url', tag_url(@tag)
|
||||
= opengraph 'og:type', 'website'
|
||||
= opengraph 'og:title', "##{@tag.name}"
|
||||
= opengraph 'og:description', t('about.about_hashtag_html', hashtag: @tag.name)
|
||||
= opengraph 'og:description', strip_tags(t('about.about_hashtag_html', hashtag: @tag.name))
|
||||
= opengraph 'twitter:card', 'summary'
|
||||
|
|
Loading…
Reference in a new issue