summaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/src/Text/Pandoc/Lua/Module
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-12-11 20:20:28 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2022-12-11 20:20:28 -0800
commit3439c1ae94f5caa1043d88818863870f3e38e6c2 (patch)
tree36cdcd86118d202908c6a2b87c7e1e21edb6dc48 /pandoc-lua-engine/src/Text/Pandoc/Lua/Module
parent5819e36dfa2b2e16e7b54cecfbc6851efec090d2 (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