lukeed/tidyPublic

fix: detect tempura safely

A template now falls back to tempura only if its tags aren't Handlebars
at all. Handlebars that Glimmer doesn't support, like a partial, fails
as it does in Prettier, rather than printing with tempura's rules. A
block that never closes is a sign of tempura, as custom blocks are
single tags there.
LELuke Edwards authored
0e5282cPatch
Parenta6da58c
2 files changed+41-21
StackedSplit
crates/tidyrs/src/handlebars/mod.rs+10 −7
crates/tidyrs/src/handlebars/tempura.rs+31 −14