prettier/tests/html_basics
Ika 13147facc5
feat(html): switch to htmlparser2 (#5127)
- switch to [`htmlparser2`](https://github.com/fb55/htmlparser2)
  - no need to fork
  - won't generate pseudo nodes ([`parse5` will](https://github.com/prettier/prettier/issues/5098#issuecomment-423055181))
  - should be [faster](https://github.com/fb55/htmlparser2#performance)
- support custom self-closing tags
- support HTML entities
- remove extra trailing newline for `<template>`
- distinguish empty/empty-string attributes (`<tag x>`/`<tag x="">`)
- rename `--parser parse5` with `--parser html`
- enable `html` since 1.15, which means it's enabled by default if you install the dev version from GitHub after this PR merged.
2018-09-22 21:53:38 +08:00
..
__snapshots__ feat(html): switch to htmlparser2 (#5127) 2018-09-22 21:53:38 +08:00
comment.html fix(html): exclude comments from fragment detection (#5100) 2018-09-17 21:38:06 +08:00
empty-doc.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00
empty.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00
form.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00
hello-world.html feat(html): add parse5/htmlparser2 printer (#2083) 2017-06-09 19:22:59 -07:00
html-comments.html fix(html): support comment on top (#4141) 2018-03-13 19:47:48 +03:00
html-fragment.html feat(html): add support for HTML fragments (#2093) 2017-06-10 20:10:34 -07:00
html5-boilerplate.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00
jsfmt.spec.js feat(html): switch to htmlparser2 (#5127) 2018-09-22 21:53:38 +08:00
more-html.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00
void-elements.html Support handlebars (#3534) 2017-12-29 18:14:31 +01:00