aboutsummaryrefslogtreecommitdiff
path: root/test/pptx/content-with-caption
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@protonmail.com>2021-09-02 10:54:55 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-10 17:06:45 -0700
commitb60c6157fecd868671baf055045a324ffe20c233 (patch)
tree0aa6fd20e2adf6e66e7616dad545a3bf8f4a7808 /test/pptx/content-with-caption
parent8ec9b884f1005e2935181045339614937159a0ad (diff)
downloadpandoc-b60c6157fecd868671baf055045a324ffe20c233.tar.gz
pptx: Don’t add relationships unnecessarily
Before now, for any layouts added to the output from the default reference doc, the relationships were unconditionally added to the output. However, if there was already a layout in slideMaster1 at the same index then that results in duplicate relationships. This commit checks first, and only adds the relationship if it doesn’t already exist.
Diffstat (limited to 'test/pptx/content-with-caption')
0 files changed, 0 insertions, 0 deletions