aboutsummaryrefslogtreecommitdiff
path: root/data/make-reference-files.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-02-06 09:01:26 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-06 09:01:26 -0800
commit2b003d4a6bc2b86f94859c43c9a16ccb6da9275c (patch)
tree2469c256c9588b3c5107b8d870878fdfe81f020e /data/make-reference-files.hs
parent59fa4eb17e1a518609a988cbecb8d6d9d74b6810 (diff)
downloadpandoc-2b003d4a6bc2b86f94859c43c9a16ccb6da9275c.tar.gz
Handle Word files generated by Microsoft Word Online.
For some reason, Word in Office 365 Online uses `document2.xml` for the content, instead of `document.xml`. This causes pandoc not to be able to parse docx. This quick fix has the parser check for both `document.xml` and `document2.xml`. Addresses #5277, but a more robust solution would be to get the name of the main document dynamically (who knows whether it might change again?).
Diffstat (limited to 'data/make-reference-files.hs')
0 files changed, 0 insertions, 0 deletions