diff options
author | laptop1\Andrew <andrewjpritchard@gmail.com> | 2018-02-23 23:15:20 +0800 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-02-23 11:50:33 -0500 |
commit | 03d86969919e811f0803e1a394ea291fe1471380 (patch) | |
tree | c36dfec8d7ce554fe8d9484cb9ffb884604b625b /test/command/3803.md | |
parent | 2eab8f465410db57a7df27631a83058f8f480d89 (diff) | |
download | pandoc-03d86969919e811f0803e1a394ea291fe1471380.tar.gz |
Docx writer: fix #3930
Fixes an issuue regarding image sizing if the same image is included more than once.
Previously, a record was kept, indexed by image source, which would include the XML for that image. For every image element in the document, this record was checked, and if the image was the same as previous examples, the same XML would be included twice. The information in this XML incudes the image description, title text, and size on the page, thus all images from the same source would always be sized the same, and have the same description. This commit fixes this by generating unique XML every time, but keeping the image ID and path if it is the same image.
Diffstat (limited to 'test/command/3803.md')
0 files changed, 0 insertions, 0 deletions