Text redaction character trimming

I am trying text redaction in one of my document, I want to replace phrase

“Test”

with →

“Performance Incentive Agreement (“PIA”): To be executed between Supplier and Consumer. Ensures that Supplier gets incentivized to the extent of the dividend payout from the SPV to the Consumer. This shall be in the form of additional tariff that is linked to dividend payouts.”

but only

“Performance Incentive Agr”

getting replaced.

@Niteen_Jadhav

Can you please provide the code you are using for text redaction and specify the document format you are working with?

My code →

using (Redactor redactor = new Redactor(filePath))
{
    redactor.Apply(new ExactPhraseRedaction(request.PrevText[i], new ReplacementOptions(request.NewText[i])));
    GroupDocs.Redaction.Options.SaveOptions saveOption = new GroupDocs.Redaction.Options.SaveOptions()
    {
        AddSuffix = false,
        RasterizeToPDF = false,
    };
    redactor.Save(saveOption);
}

I am working with docx file

@Niteen_Jadhav

Thank you for sharing the code. I have tried to reproduce the issue with a sample DOCX file and conde you provided but it worked well

Can you please share the sample file so we could reproduce the issue locally for the further analysis?

The app that I was using: sample-app.zip (22.2 KB)

I checked this Document Redaction: Remove Sensitive Content Online here also unable to add more characters than → Performance Incentive Agr

@Niteen_Jadhav

I have notified the responsible team for the issue with Document Redaction: Remove Sensitive Content Online.

For the further analysis I would need a sample file that you’re using to reproduce the issue.

I’m not getting this issue now