diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-06 09:01:26 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-06 09:01:26 -0800 |
commit | 2b003d4a6bc2b86f94859c43c9a16ccb6da9275c (patch) | |
tree | 2469c256c9588b3c5107b8d870878fdfe81f020e /data/templates/default.rst | |
parent | 59fa4eb17e1a518609a988cbecb8d6d9d74b6810 (diff) | |
download | pandoc-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/templates/default.rst')
0 files changed, 0 insertions, 0 deletions