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:
parent
21c7265237
commit
de2d55c206
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue