prettier/tests/html_tags
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
case-sensitive.html fix(html): preserve case-sensitive attributes (#5109) 2018-09-19 21:36:37 +08:00
custom-self-closing.html feat(html): switch to htmlparser2 (#5127) 2018-09-22 21:53:38 +08:00
jsfmt.spec.js feat(html): switch to htmlparser2 (#5127) 2018-09-22 21:53:38 +08:00
pre.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00
tags.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00
textarea.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00
unsupported.html [WIP] feat: html support (#4753) 2018-09-13 07:06:49 -06:00