lukeed/tidyPublic

feat: html and vue embedding

Prints srcset, iframe allow, class, style, event handler, and Vue
directive values as Prettier does, with the code going to the Embed
hook under Prettier's parser names. Drops bun's corrections where
they move Prettier's own fixtures: hidden blocks kept inline, SVG text
edges, and ASCII-only class name splitting. Whitespace-only input
prints nothing, as in Prettier's core.

Conformance: html 237/245, vue 155/194.
LELuke Edwards authored
7658dccPatch
Parent4830917
6 files changed+532-139
StackedSplit
crates/tidyrs/src/html/embed.rs+437 −10
crates/tidyrs/src/html/mod.rs+6 −1
crates/tidyrs/src/html/preprocess.rs+9 −117
crates/tidyrs/src/html/print.rs+18 −4
crates/tidyrs/src/html/strings.rs+25 −0
tests/oracle/conformance.ts+37 −7