* Do not add hard linebreak for html template * Collapse whitespaces to single space char * restore line breaking * use `line` and rename vars * add test * support htmlWhitespaceSensitivity * indent if breakable * add htmlWhitespaceSensitivity test * indent only when multiple top levels * add a changelog entry * update snapshot * replace match with test * split tests into multiple files for better readability of snapshots * fix an edge case with html-in-js-in-html Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
5 lines
151 B
JavaScript
5 lines
151 B
JavaScript
run_spec(__dirname, ["babel", "flow", "typescript"]);
|
|
run_spec(__dirname, ["babel", "flow", "typescript"], {
|
|
htmlWhitespaceSensitivity: "ignore"
|
|
});
|