diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-12-11 20:20:28 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-12-11 20:20:28 -0800 |
| commit | 3439c1ae94f5caa1043d88818863870f3e38e6c2 (patch) | |
| tree | 36cdcd86118d202908c6a2b87c7e1e21edb6dc48 /pandoc-lua-engine/src/Text/Pandoc/Lua/Module | |
| parent | 5819e36dfa2b2e16e7b54cecfbc6851efec090d2 (diff) | |
Docx reader: fix handling of oMathPara in w:p with other content.
Closes #8483.
The problem is that oMathPara can either occur at the block-level
(child of w:body) or at the inline level (child of w:p, potentially
with other content). We need to handle both cases.
Previously the code just assumed that if we had a w:p with an oMathPara,
the math would be the sole content.
This patch removes OMathPara as a constructor of BodyPart
and adds it as a constructor of ParPart.
Diffstat (limited to 'pandoc-lua-engine/src/Text/Pandoc/Lua/Module')
0 files changed, 0 insertions, 0 deletions
