aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Translations.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-11-23 09:38:28 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-11-23 09:39:48 -0800
commit2f110265ff4a1dc429d58e7401d68968e42b6db1 (patch)
treef5f1522217d988d388983ba9d4f35d50c8b42ec2 /src/Text/Pandoc/Translations.hs
parentf7d80b41709ad79729226243e82a166a236934b8 (diff)
downloadpandoc-2f110265ff4a1dc429d58e7401d68968e42b6db1.tar.gz
ImageSize: default to DPI 72 if the format specifies DPI of 0.
This shouldn't happen, in general, but it can happen with JPEGs that don't conform to the spec. Having a DPI of 0 will blow up size calculations (division by 0). Closes #6880.
Diffstat (limited to 'src/Text/Pandoc/Translations.hs')
0 files changed, 0 insertions, 0 deletions