From de2d55c206ce64697297616d936a75e7b59fbe9c Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Tue, 5 Aug 2014 20:59:27 -0400 Subject: [PATCH] website: configure middleman not to remove multiple spaces during minify Minification was breaking the whitespace in JSON blocks on the front page that require indentation because we use non-standard `p` and `span` tags in JSON blocks I imagine the HTML compressor gem used by middleman has some whitelisting of the `pre` tag, therefore it wouldn't break normal code blocks. --- website/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/config.rb b/website/config.rb index f3847acb3..3cbbb2145 100644 --- a/website/config.rb +++ b/website/config.rb @@ -15,7 +15,7 @@ set :markdown, # Build-specific configuration configure :build do activate :asset_hash - activate :minify_html + activate :minify_html, remove_multi_spaces: false activate :minify_javascript end