support_tables: trim_mode:">" saves 5.6 MB

pull/1872/head
Simon Legner 2 years ago
parent 18963c5749
commit c1a9d178e5

@ -29,7 +29,7 @@ module Docs
index_page = { index_page = {
path: 'index', path: 'index',
store_path: 'index.html', store_path: 'index.html',
output: ERB.new(INDEX_PAGE_ERB).result(binding), output: ERB.new(INDEX_PAGE_ERB, trim_mode:">").result(binding),
entries: [Entry.new(nil, 'index', nil)] entries: [Entry.new(nil, 'index', nil)]
} }
@ -49,7 +49,7 @@ module Docs
page = { page = {
path: feature_id, path: feature_id,
store_path: "#{feature_id}.html", store_path: "#{feature_id}.html",
output: ERB.new(PAGE_ERB).result(binding), output: ERB.new(PAGE_ERB, trim_mode:">").result(binding),
entries: [Entry.new(name, feature_id, type)] entries: [Entry.new(name, feature_id, type)]
} }

Loading…
Cancel
Save