Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for crash when TextReplacer when replacement string is empty. #18

Open
wants to merge 1 commit into
base: vNext
Choose a base branch
from

Conversation

adricl
Copy link

@adricl adricl commented Feb 4, 2020

If you use the textReplacer and have the replacement string as and empty string an out of bounds exception occurs.

I have also added and example in the TextReplacer examples.

@JamesSkemp
Copy link

Any chance you can PR this into the https://github.com/LionelVallet/Open-Xml-PowerTools fork?

That supports .NET 6, but has this same empty string replacement issue.

huan086 pushed a commit to huan086/Open-Xml-PowerTools that referenced this pull request Sep 17, 2024
Propagate run attributes when coalescing adjacent runs with identical…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants