1. Briefly
I don't find, how I can modify multiple files in multiple folders use HTML Tidy.
2. Structure
Example site structure:
output
SashaTest
SashaTest.html
TidyTest
TidyTest.html
In real project I have more than 100 HTML files.
3. Expected behavior
Modifying SashaTest.html and TidyTest.html files.
It works for me for single files:
D:\SashaPelicanTest>tidy -mq "output/TidyTest/TidyTest.html"
line 12 column 16 - Warning: trimming empty <span>
4. Actual behavior
I can't use glob patterns, examples:
D:\SashaPelicanTest>tidy -mq "output/**/*.html"
Error: Can't open "output/**/*.html"
D:\SashaPelicanTest>tidy -mq *.html
Error: Can't open "*.html"
5. Did not help
I use Grunt for building my site. grunt-htmltidy support multiple files, but plugin works with bugs and, possibly, no longer maintained, see #6.
Thanks.
1. Briefly
I don't find, how I can modify multiple files in multiple folders use HTML Tidy.
2. Structure
Example site structure:
output SashaTest SashaTest.html TidyTest TidyTest.htmlIn real project I have more than 100 HTML files.
3. Expected behavior
Modifying
SashaTest.htmlandTidyTest.htmlfiles.It works for me for single files:
4. Actual behavior
I can't use glob patterns, examples:
5. Did not help
I use Grunt for building my site. grunt-htmltidy support multiple files, but plugin works with bugs and, possibly, no longer maintained, see #6.
Thanks.