strip syntax for meta description tag

This commit is contained in:
r888888888
2016-02-04 13:46:37 -08:00
parent 504674b288
commit 7f9261b0cb
3 changed files with 20 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ class WikiPagePresenter
end
def blurb
excerpt.try(:gsub, /<.+?>/, "")
DText.strip(excerpt.to_s)
end
def consequent_tag_aliases