mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-19 02:10:15 -05:00
* Layout: a word after a slash wraps whole, like Word (#2963) UAX #14 (LB13) forbids a break between a space and a slash, and the break after a slash is dropped on purpose (Word keeps "and/or" whole). Together "caption /word" had no break opportunity at all, so a line too short for both filled letter by letter and split the word. Add the break before a slash that follows whitespace and starts a word. Co-Authored-By: Claude <noreply@anthropic.com> * Layout: no break before a slash after a no-break space (#2963) The break before a slash word took any whitespace, U+00A0, U+2007 and U+202F included, so "Nr. /12" could wrap after the no-break space. Only a breakable space counts now. The parity checklist lists the rule on its own row as untested against Word. Co-Authored-By: Claude <noreply@anthropic.com> * Layout: test the slash word in a fixed-width table cell (#2963) The report came from a table cell, where the cell's own width is the line width. Co-Authored-By: Claude <noreply@anthropic.com> * Docs: gaps and typing parity for the slash-word break (#2963) Doc wording taken from #2994 (maxm11), with the test names of this PR. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude (ThinkSystem) <claude@thinksystem.local> Co-authored-by: Claude <noreply@anthropic.com>