If wikEdDiff tags a piece of text as "moved" immediately after a piece of text tagged as "added" or "removed", the refining step in the kitabDiff script fails.
The reason is that in the current version of the script, a piece of "moved" text triggers the refinement.
Solution: do not trigger the refinement at a piece of moved text, but continue until a piece of common text (or the end of the text) is reached; add a placeholder for the moved text and add the moved text in later.
If wikEdDiff tags a piece of text as "moved" immediately after a piece of text tagged as "added" or "removed", the refining step in the kitabDiff script fails.
The reason is that in the current version of the script, a piece of "moved" text triggers the refinement.
Solution: do not trigger the refinement at a piece of moved text, but continue until a piece of common text (or the end of the text) is reached; add a placeholder for the moved text and add the moved text in later.