浏览代码

support_tables: trim_mode:">" saves 5.6 MB

Simon Legner 3 年之前
父节点
当前提交
c1a9d178e5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/docs/scrapers/support_tables.rb

+ 2 - 2
lib/docs/scrapers/support_tables.rb

@@ -29,7 +29,7 @@ module Docs
       index_page = {
         path: 'index',
         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)]
       }
 
@@ -49,7 +49,7 @@ module Docs
         page = {
           path: feature_id,
           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)]
         }