diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2017-12-31 09:09:22 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2017-12-31 09:29:51 -0500 |
commit | 836153de43933dca3205e4459f55979d467f927e (patch) | |
tree | daeb7a8301f6a63d3fc0c458013c305ae1ac4e2c /test/tables.textile | |
parent | a274e15f0d236140fec7e4554117fcb55a219566 (diff) | |
download | pandoc-836153de43933dca3205e4459f55979d467f927e.tar.gz |
Docx Reader: Combine adjacent anchors.
There isn't any reason to have numberous anchors in the same place,
since we can't maintain docx's non-nesting overlapping. So we reduce
to a single anchor, and have all links pointing to one of the
overlapping anchors point to that one. This changes the behavior from
commit e90c714c7 slightly (use the first anchor instead of the last)
so we change the expected test result.
Note that because this produces a state that has to be set after every
invocation of `parPartToInlines`, we make the main function into a
primed subfunction `parPartToInlines'`, and make `parPartToInlines` a
wrapper around that.
Diffstat (limited to 'test/tables.textile')
0 files changed, 0 insertions, 0 deletions