support_tables: &:strip saves 36.5 MB

pull/1872/head
Simon Legner 2 years ago
parent c1a9d178e5
commit 088f13e1a6

@ -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, trim_mode:">").result(binding), output: ERB.new(PAGE_ERB, trim_mode:">").result(binding).split("\n").map(&:strip).join("\n"),
entries: [Entry.new(name, feature_id, type)] entries: [Entry.new(name, feature_id, type)]
} }

Loading…
Cancel
Save