History

support_tables: &:strip saves 36.5 MB

Simon Legner committed 4 years ago

Commit 088f13e1 parent c1a9d171 file · +1 −1Browse files

Unified · Split

lib/docs/scrapers/support_tables.rb+1−1
@@ -49,7 +49,7 @@ module Docs · 48 unmodified lines
49 page = {49 page = {
50 path: feature_id,50 path: feature_id,
51 store_path: "#{feature_id}.html",51 store_path: "#{feature_id}.html",
52 output: ERB.new(PAGE_ERB, trim_mode:">").result(binding),52 output: ERB.new(PAGE_ERB, trim_mode:">").result(binding).split("\n").map(&:strip).join("\n"),
53 entries: [Entry.new(name, feature_id, type)]53 entries: [Entry.new(name, feature_id, type)]
54 }54 }
55 55