├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── lib ├── octopress-minify-html.rb └── octopress-minify-html │ └── version.rb ├── octopress-minify-html.gemspec └── test ├── _clash.yml ├── _collection_test └── test.md ├── _config.yml ├── _config_html_press.yml ├── _env-dev.yml ├── _env-prod.yml ├── _expected ├── compressed-configured │ ├── collection_test │ │ └── test.html │ ├── index.html │ └── uncompressed.txt ├── compressed │ ├── collection_test │ │ └── test.html │ ├── index.html │ └── uncompressed.txt └── uncompressed │ ├── collection_test │ └── test.html │ ├── index.html │ └── uncompressed.txt ├── _minify-false.yml ├── _minify-true.yml ├── index.md └── uncompressed.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.0.0 4 | script: bundle exec clash test 5 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | -------------------------------------------------------------------------------- /lib/octopress-minify-html.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/lib/octopress-minify-html.rb -------------------------------------------------------------------------------- /lib/octopress-minify-html/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/lib/octopress-minify-html/version.rb -------------------------------------------------------------------------------- /octopress-minify-html.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/octopress-minify-html.gemspec -------------------------------------------------------------------------------- /test/_clash.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_clash.yml -------------------------------------------------------------------------------- /test/_collection_test/test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_collection_test/test.md -------------------------------------------------------------------------------- /test/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_config.yml -------------------------------------------------------------------------------- /test/_config_html_press.yml: -------------------------------------------------------------------------------- 1 | html_press: 2 | drop_empty_values: true 3 | -------------------------------------------------------------------------------- /test/_env-dev.yml: -------------------------------------------------------------------------------- 1 | env: development 2 | -------------------------------------------------------------------------------- /test/_env-prod.yml: -------------------------------------------------------------------------------- 1 | env: production 2 | -------------------------------------------------------------------------------- /test/_expected/compressed-configured/collection_test/test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_expected/compressed-configured/collection_test/test.html -------------------------------------------------------------------------------- /test/_expected/compressed-configured/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_expected/compressed-configured/index.html -------------------------------------------------------------------------------- /test/_expected/compressed-configured/uncompressed.txt: -------------------------------------------------------------------------------- 1 | This 2 | 3 | Has 4 | 5 | Excessive 6 | 7 | Whitespace 8 | -------------------------------------------------------------------------------- /test/_expected/compressed/collection_test/test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_expected/compressed/collection_test/test.html -------------------------------------------------------------------------------- /test/_expected/compressed/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_expected/compressed/index.html -------------------------------------------------------------------------------- /test/_expected/compressed/uncompressed.txt: -------------------------------------------------------------------------------- 1 | This 2 | 3 | Has 4 | 5 | Excessive 6 | 7 | Whitespace 8 | -------------------------------------------------------------------------------- /test/_expected/uncompressed/collection_test/test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_expected/uncompressed/collection_test/test.html -------------------------------------------------------------------------------- /test/_expected/uncompressed/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/_expected/uncompressed/index.html -------------------------------------------------------------------------------- /test/_expected/uncompressed/uncompressed.txt: -------------------------------------------------------------------------------- 1 | This 2 | 3 | Has 4 | 5 | Excessive 6 | 7 | Whitespace 8 | -------------------------------------------------------------------------------- /test/_minify-false.yml: -------------------------------------------------------------------------------- 1 | minify_html: false 2 | -------------------------------------------------------------------------------- /test/_minify-true.yml: -------------------------------------------------------------------------------- 1 | minify_html: true 2 | -------------------------------------------------------------------------------- /test/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopress/minify-html/HEAD/test/index.md -------------------------------------------------------------------------------- /test/uncompressed.txt: -------------------------------------------------------------------------------- 1 | This 2 | 3 | Has 4 | 5 | Excessive 6 | 7 | Whitespace 8 | --------------------------------------------------------------------------------