lukeed/tidyPublic

perf: escape quotes as texts are made

Attribute values escape their double quotes when their texts are made,
instead of a mapDoc pass with a map per attribute, code is borrowed,
and class values that are already single-spaced are kept. A bitmap of
the Basic Multilingual Plane tells width which characters need a
closer look. Pages on one thread: about 70 to 67 ms.
LELuke Edwards authored
393efabPatch
Parent8b9eb93
5 files changed+109-104
StackedSplit
crates/tidyrs/src/doc/mod.rs+7 โˆ’71
crates/tidyrs/src/doc/width.rs+36 โˆ’0
crates/tidyrs/src/html/embed.rs+36 โˆ’30
crates/tidyrs/src/html/print.rs+20 โˆ’1
crates/tidyrs/src/html/strings.rs+10 โˆ’2