simplify whitespace regex

This commit is contained in:
Ben Balter 2015-11-25 15:26:57 -06:00
parent a355e6ef74
commit 1ad8107a4e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module Jekyll
output = Liquid::Template.parse(template_contents).render!(payload, info)
# Minify
output.gsub!(/[\n\s]{2,}/, "\n")
output.gsub!(/[\s]{2,}/, "\n")
# Encode smart quotes. See https://github.com/benbalter/jekyll-seo-tag/pull/6
output.gsub!("\u201c", "“")