You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Untracked replace inside another author's insertion that holds a nested deletion replaces the wrong span (0.27.0) #22
Thanks for the fast fix of #13 — in 0.27.0 the tracked case (replace --track)
now gives the editor's own w:ins at the right place. The untracked case on the
same paragraph still edits the wrong words.
Version: docx-cli 0.27.0 (npm tarball, tag v0.27.0)
Paragraph (the one from #13: Reviewer A's pending insertion holding
Reviewer B's pending deletion of "any "):
With all changes accepted the paragraph reads Fees are due. disputed sumwithhold disputed amount.
Expected:Fees are due. The Client may withhold disputed sum. with all
changes accepted, Reviewer B's deletion of "any " and Reviewer A's insertion
otherwise unchanged — as replace --track now produces apart from the
tracking.
Possibly related to #16 / #21 (another wrapper nested in an insertion), though
here the match lies entirely after the nested deletion and crosses no wrapper;
the replacement lands at the start of the insertion instead.
Activity
test(replace): pin untracked replace after a deletion nested in an in…