Files
docx/src
helloendoftheworld 0ce302ce03 fix: canonicalize <w:rPr> element order for Word compatibility (#3140)
* fix: canonicalize <w:rPr> element order for Word compatibility

MS Word Online enforces a de facto canonical order for `<w:rPr>` elements, ignoring spec-defined flexibility. When `<w:strike>` appears after `<w:sz>`, or `<w:color>` follows `<w:u>`, formatting is silently dropped (strike and color, respectively). This reordering aligns our output with the structure Word itself emits, ensuring correct rendering. The OOXML Validator VSCode extension also flags these cases as schema violations, further reinforcing the need to respect this pseudo-ordering despite the spec's use of `<xsd:choice>`.

* fix: ordering of elements of symbol-run.spec.ts

* fix: ordering of elements of default-styles.spec.ts
2025-06-14 15:10:43 +01:00
..
2023-06-05 00:33:43 +01:00
2023-03-17 00:20:55 +00:00