aboutsummaryrefslogtreecommitdiff
path: root/test/docx/nested_instrText.native
AgeCommit message (Collapse)AuthorFilesLines
2021-10-18Docx reader: fix handling of nested fieldsMilan Bracke1-0/+5
Fields delimited by fldChar elements can contain other fields. Before, the nested fields would be ignored, except for the end, which would be considered the end of the parent field. To fix this issue, fields needed to be considered containing ParParts instead of Runs, since a Run can't represent complex enough structures. This also impacted Hyperlinks since they can originate from a field.