summaryrefslogtreecommitdiff
path: root/src/collect_files.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2026-03-02 14:38:07 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2026-03-02 14:38:07 +1300
commita490ead653cac5f3d1ecc25899b89431c4be3483 (patch)
treee79eb04246b4a652672ff07a7488c4b5c21eb032 /src/collect_files.rs
parent12b28c938bd28ca643cd7da32c8b054847f3b79e (diff)
downloadtoaster-a490ead653cac5f3d1ecc25899b89431c4be3483.zip
Collapse consecutive hyphens in slugs
Previously, a heading or page called something like 'Name - subtitle' would become the slug 'name---subtitle' because the hyphen is stuck between spaces which also become hyphens. This looks silly. The new function will generate the slug 'name-subtitle' instead.
Diffstat (limited to 'src/collect_files.rs')
0 files changed, 0 insertions, 0 deletions