lukeed/tidyPublic

perf: scan attribute values once

The verbatim attribute check scanned each value for & and line breaks,
then for its width, then for class spacing. One vectorized pass now
gives the first two, and the width goes to the doc as it is.
LELuke Edwards authored
089e62ePatch
Parent04b84d5
2 files changed+41-14
StackedSplit
crates/tidyrs/src/doc/mod.rs+5 −1
crates/tidyrs/src/html/print.rs+36 −13