strip syntax for meta description tag

This commit is contained in:
r888888888
2016-02-04 14:10:43 -08:00
parent 504674b288
commit 7f9261b0cb
3 changed files with 20 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class WikiPagePresenter
end
def blurb
excerpt.try(:gsub, /<.+?>/, "")
DText.strip(excerpt.to_s)
end
def consequent_tag_aliases