Allow quotes in meta description fields

This commit is contained in:
Seth Vargo 2017-09-07 22:06:15 -04:00
parent bd703adacd
commit d5d4ef1a05
No known key found for this signature in database
GPG key ID: C921994F9C27E0FF

View file

@ -37,7 +37,6 @@ helpers do
# @return [String]
def description_for(page)
description = (page.data.description || "")
.gsub('"', '')
.gsub(/\n+/, ' ')
.squeeze(' ')