diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-03-18 09:38:26 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-03-18 09:38:26 -0400 |
commit | 28c7617f19c4d6dd69e2aa9c904af13e11e4e639 (patch) | |
tree | c7e1f4673b0f7ae725113f564f76a0f176cb557d /src/Text/Pandoc/Writers/CommonMark.hs | |
parent | 7f4a40474c77a72cb66b9f583d241c1f21ef695f (diff) | |
download | pandoc-28c7617f19c4d6dd69e2aa9c904af13e11e4e639.tar.gz |
Docx reader: Handle alternate content
Some word functions -- especially graphics -- give various choices for
content so there can be backwards compatibility. This follows the
largely undocumented feature by working through the choices until we
find one that works.
Note that we had to split out the processing of child elems of runs into
a separate function so we can recurse properly. Any processing of an
element *within* a run (other than a plain run) should go into
`childElemToRun`.
Diffstat (limited to 'src/Text/Pandoc/Writers/CommonMark.hs')
0 files changed, 0 insertions, 0 deletions