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
The fix for #126 introduced a problem where the spans that needed to be replaced would not have their start/end updated accordingly after doing a prior replacement.
The issue is the code is updating identifiedSpans and not appliedSpans.
Example - the following text:
George Washington was president and his ssn was {{{REDACTED-ssn}}} and he lived at {{{REDACTED-zip-code}}}.
would be redacted as:
George Washington was president and his ssn was {{{REDACTED-ssn}}} and he li{{{REDACTED-zip-code}}}t 90210.
This needs a unit test.
The text was updated successfully, but these errors were encountered:
The fix for #126 introduced a problem where the spans that needed to be replaced would not have their start/end updated accordingly after doing a prior replacement.
The issue is the code is updating
identifiedSpans
and notappliedSpans
.Example - the following text:
George Washington was president and his ssn was {{{REDACTED-ssn}}} and he lived at {{{REDACTED-zip-code}}}.
would be redacted as:
George Washington was president and his ssn was {{{REDACTED-ssn}}} and he li{{{REDACTED-zip-code}}}t 90210.
This needs a unit test.
The text was updated successfully, but these errors were encountered: