Commit 28e9888
authored
LT-22473: Word Export: Fix bold and italic problem
When bold or italic were explicitly set to false for a style,
but a parent node was using a style where it was explicitly set to
true, then we were setting the value to true. This change corrects
the logic error and uses any value explicitly set for a node (false or
true) to override a value explicitly set for a parent node.1 parent 36947db commit 28e9888
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
| 516 | + | |
518 | 517 | | |
519 | | - | |
520 | | - | |
| 518 | + | |
| 519 | + | |
521 | 520 | | |
522 | 521 | | |
523 | 522 | | |
| |||
526 | 525 | | |
527 | 526 | | |
528 | 527 | | |
529 | | - | |
530 | | - | |
| 528 | + | |
531 | 529 | | |
532 | | - | |
533 | | - | |
| 530 | + | |
| 531 | + | |
534 | 532 | | |
535 | 533 | | |
536 | 534 | | |
| |||
0 commit comments