lukeed/tidyPublic

refactor: share string helpers

Handlebars needs the same bun-named byte string helpers as HTML, so
they move from html/ to the crate root, with count_char and
contains_js_line_break added.
LELuke Edwards authored
4f9eed9Patch
Parent74ab114
10 files changed+19-9
StackedSplit
crates/tidyrs/src/html/embed.rs+2 −2
crates/tidyrs/src/html/lexer.rs+1 −1
crates/tidyrs/src/html/mod.rs+0 −1
crates/tidyrs/src/html/parse.rs+1 −1
crates/tidyrs/src/html/parser.rs+1 −1
crates/tidyrs/src/html/preprocess.rs+1 −1
crates/tidyrs/src/html/print.rs+1 −1
crates/tidyrs/src/html/utilities.rs+1 −1
crates/tidyrs/src/lib.rs+1 −0
crates/tidyrs/src/strings.rs+10 −0