pandoc/test/docx
Jesse Rosenthal 836153de43 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.
2017-12-31 09:29:51 -05:00
..
0_level_headers.docx Docx reader: Add tests for avoiding zero-level header. 2017-08-06 19:36:25 -07:00
0_level_headers.native Add empty_paragraphs extension. 2017-12-04 14:56:57 -08:00
already_auto_ident.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
already_auto_ident.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
block_quotes.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
block_quotes_parse_indent.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
char_styles.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
char_styles.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
codeblock.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
codeblock.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
comments.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
comments.native Add empty_paragraphs extension. 2017-12-04 14:56:57 -08:00
comments_no_comments.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
comments_warning.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
custom-style-reference.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
custom-style-roundtrip-end.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
custom-style-roundtrip-start.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
deep_normalize.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
deep_normalize.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
definition_list.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
definition_list.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
drop_cap.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
drop_cap.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dummy_item_after_list_item.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dummy_item_after_list_item.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dummy_item_after_paragraph.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dummy_item_after_paragraph.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
enumerated_headings.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
enumerated_headings.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
german_styled_lists.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
german_styled_lists.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
hanging_indent.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
hanging_indent.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
headers.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
headers.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
i18n_blocks.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
i18n_blocks.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_no_embed.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_no_embed_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_vml.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_vml.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_code.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_code.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_formatting.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_formatting.native Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
inline_formatting_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_images.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_images.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_images_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
link_in_notes.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
link_in_notes.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
links.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
links.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
links_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lists.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lists.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lists_continuing.docx Docx writer: Add tests for list continuation. 2017-12-13 15:16:44 -05:00
lists_continuing.native Docx writer: Add tests for list continuation. 2017-12-13 15:16:44 -05:00
lists_restarting.docx Docx writer: Add tests for list continuation. 2017-12-13 15:16:44 -05:00
lists_restarting.native Docx writer: Add tests for list continuation. 2017-12-13 15:16:44 -05:00
lists_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
metadata.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
metadata.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
metadata_after_normal.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
metadata_after_normal.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
nested_anchors_in_header.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
nested_anchors_in_header.native Docx reader: Read multiple children of w:sdtContents` 2017-12-30 08:21:42 -05:00
normalize.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
normalize.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
notes.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
notes.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
numbered_header.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
numbered_header.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
sdt_elements.docx Docx reader: add tests for structured document tags unwrapping. 2017-12-27 10:03:00 -05:00
sdt_elements.native Docx reader: add tests for structured document tags unwrapping. 2017-12-27 10:03:00 -05:00
special_punctuation.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
special_punctuation.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
table_one_row.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
table_one_row.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
table_with_list_cell.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
table_with_list_cell.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tabs.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tabs.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_deletion.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_deletion_accept.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_deletion_all.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_deletion_reject.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_insertion.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_insertion_accept.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_insertion_all.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_insertion_reject.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_move.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_move_accept.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_move_all.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_move_reject.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
trailing_spaces_in_formatting.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
trailing_spaces_in_formatting.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
unicode.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
unicode.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
unused_anchors.docx Docx reader: tests for removing unused anchors. 2017-12-30 22:43:33 -05:00
unused_anchors.native Docx Reader: Combine adjacent anchors. 2017-12-31 09:29:51 -05:00
verbatim_subsuper.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
verbatim_subsuper.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00