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

lolsob-rspec
Yamagishi Kazutoshi 2018-05-10 21:38:40 +09:00 committed by Eugen Rochko
parent f286c23900
commit b91c131afa
1 changed files with 1 additions and 1 deletions

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'