mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-22 19:08:48 +00: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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> --------- Co-authored-by: Claude (ThinkSystem) <[email protected]> Co-authored-by: Claude <[email protected]>