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.
This commit is contained in:
Jack Pearkes 2014-08-05 20:59:27 -04:00
parent 21c7265237
commit de2d55c206
1 changed files with 1 additions and 1 deletions

View File

@ -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