Ivan Demidov
Ivan Demidov
baseb on #216 save default struct and format only indent: *input.html* ```html test 1 test 2 ``` *output.html* ```html test 1 test 2 ```
http://htmlreference.io [html-tag-names](https://github.com/wooorm/html-tag-names)
use [browser-compat-data](https://github.com/mdn/browser-compat-data) ```js export default { a: { status: [], attrs: ['href', 'target'] } } ```
```js export default { require: { status: ['deprecated', 'email'], // email - convert style to old attrs for email boolean: true } } ```
https://squizlabs.github.io/HTML_CodeSniffer/ Posthtml-w3c Posthtml-hint Posthtml-lint
- [ ] [Minifier](https://github.com/Rebelmail/posthtml-minifier) - [ ] [Nano](https://github.com/maltsev/htmlnano) - [ ] [Uglify](https://github.com/Rebelmail/posthtml-uglify) - [ ] ~https://github.com/bevacqua/insane~
- [ ] Downlevel-revealed Conditional Comments ``` html You are not using Internet Explorer. ``` after htmlparser2 return ``` js { tag: 'p', content: [ 'You are not using Internet...
https://github.com/codsen/string-collapse-white-space