Skip to content

Docx conversion ignoring inside of AlternateContent tag #5394

@Seacant

Description

@Seacant

When converting from a .docx file, the output is completely ignoring anything inside of a <mc:AlternateContent> tag. See the attached MWE and sample output.

Command ran

pandoc -f docx -t markdown pandoc_mwe.docx -o pandoc_mwe.txt

Input

pandoc_mwe.docx

Output

pandoc_mwe.txt

Expected output

The content from the `mc:Fallback inner tag rendered as best as it can be. In the case of the MWE, a textbox containing missing sentence. Or even just the sentence if rendering a textbox-like container is out of the scope of Pandoc. But something should be there.

Version

pandoc 2.7.1
Compiled with pandoc-types 1.17.5.4, texmath 0.11.2.2, skylighting 0.7.7
Default user data directory: /home/master/.local/share/pandoc or /home/master/.pandoc
Copyright (C) 2006-2019 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions