Files
designcraft/crates/textimport/src
midasmatterhorn 937e948a3d docx: an explicit off imports as off
ST_OnOff (ECMA-376 17.17.4) is a boolean plus the words on and off, but
the toggle reader only counted 0/false/none as off — so <w:b w:val="off"/>
(a legal spelling written by non-Word producers) imported as bold, and
the same for <w:i>, <w:strike>, <w:caps>, <w:isLgl> and <w:u>.

Add "off" to both off-lists. Regression test:
off_valued_toggles_stay_off — on main the off run imports bold; with the
patch it stays regular and an on run stays bold.
2026-10-15 15:54:09 +03:00
..
2026-10-15 15:54:09 +03:00