Browse Source

Strip tags from og:description on public tag page (#7437)

pull/4/head
Yamagishi Kazutoshi 6 years ago
committed by Eugen Rochko
parent
commit
bd5f57cbc3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/tags/_og.html.haml

+ 1
- 1
app/views/tags/_og.html.haml View File

@ -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…
Cancel
Save