about summary refs log tree commit diff
path: root/app/views/tags/_og.html.haml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-05-11 20:34:19 +0200
committerGitHub <noreply@github.com>2018-05-11 20:34:19 +0200
commitda8897aaefeedf281a72f2e3b1b88ea0573e481e (patch)
tree53a6ce915f8687b15e5bd5d06a53d08ed764d3da /app/views/tags/_og.html.haml
parente7ed61917b045f15776adbf257501dc9dac85557 (diff)
parent45fce0e496727cd1579c630c22592638341f78c6 (diff)
Merge pull request #477 from ThibG/glitch-soc/merge
Merge upstream changes
Diffstat (limited to 'app/views/tags/_og.html.haml')
-rw-r--r--app/views/tags/_og.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tags/_og.html.haml b/app/views/tags/_og.html.haml
index 853a499ae..a7c289bcb 100644
--- a/app/views/tags/_og.html.haml
+++ b/app/views/tags/_og.html.haml
@@ -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'