diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-01-27 07:21:25 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-01-27 07:41:55 -0500 |
commit | ae2157fe8bca342ba23881e0f5dfba8d9fb07d84 (patch) | |
tree | 814d9252e09f09a17c8855f0c204da5da2c3c4f3 /src/Text/Pandoc/Readers/HTML.hs | |
parent | 61f80e795d527cb0a8e084395d60bf553ee85c2c (diff) | |
download | pandoc-ae2157fe8bca342ba23881e0f5dfba8d9fb07d84.tar.gz |
Docx writer: Fix ids in comment writing
Comments from `--track-changes=all` were producing corrupt docx,
because the writer was trying to get id from the `(ID,_,_)` field of
the attributes, and ignoring the "id" entry in the key-value pairs. We
now check both.
There is a larger conversation to be had about the right way to treat
"id" and "class" entries in kvs, but this fix will correctly interpret
the output of the docx reader work.
Diffstat (limited to 'src/Text/Pandoc/Readers/HTML.hs')
0 files changed, 0 insertions, 0 deletions