mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-09 04:01:39 +00:00
Word wraps "Dataprotection-/Secrecyviolation" as "Dataprotection-" / "/Secrecyviolation". UAX #14 (LB13) forbids a break before the slash, so the compound had no break opportunity: lines moved it whole and auto-fit table columns widened to fit it, taking width from their neighbours. Add the break after U+002D when a slash and a letter follow, next to the existing break before a digit (#2712); Word keeps "fitness-/1589" whole, so a slash before a digit gains no break. Always sort the added breaks. Co-authored-by: Naxvog <4963183+naxvog@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>