pandoc/test/pptx/two-column/text-and-image
Emily Bourke 0ebe65e651 pptx: Fix logic for choosing Comparison layout
There was a mistake in the logic used to choose between the Comparison
and Two Content layouts: if one column contained only non-text (an image
or a table) and the other contained only text, the Comparison layout was
chosen instead of the desired Two Content layout.

This commit fixes that logic:

> If either column contains text followed by non-text, use Comparison.
  Otherwise, use Two Content.

It also adds a test asserting this behaviour.
2021-09-13 08:30:36 -07:00
..
deleted-layouts.pptx pptx: Fix logic for choosing Comparison layout 2021-09-13 08:30:36 -07:00
input.native pptx: Fix logic for choosing Comparison layout 2021-09-13 08:30:36 -07:00
moved-layouts.pptx pptx: Fix logic for choosing Comparison layout 2021-09-13 08:30:36 -07:00
output.pptx pptx: Fix logic for choosing Comparison layout 2021-09-13 08:30:36 -07:00
templated.pptx pptx: Fix logic for choosing Comparison layout 2021-09-13 08:30:36 -07:00