mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-19 08:40:46 +01:00
Where an inserted change run starts at a hyperlink source's first character and ends before the source does, IDML writes an empty Change before the source and the first character without one; a paragraph-level source gets a character range of its own for the deleted text and the empty Change. The converter now writes the same 1,681 empty changes as the trustworthy references (385 of 385 in stale pairs). Deleted text owned by a table cell's terminating return is written as the cell's last child. All 1,889 deleted-text changes of the trustworthy pairs are now written. compare.py (trustworthy pairs), together with the form fields that follow: TextRange (element not produced) 6,062 -> 758 values, TextRange (story text differs) 8,417 -> 3,979.