-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ReplaceText incorrect text changing. #666
Labels
Milestone
Comments
To work around this, I suggest you change the placeholder texts as below
I've tested on my box and it works perfectly. |
I cant change placeholder syntax. I workaround by using another lib. But want to use npoi, will it be fixed at some point or not? |
Do you still wanna use NPOI or you have switched to another library? |
Still want. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code
When I using two text surrounded by dollars make incorrect replacement.
Examples on screenshot:
As you see
p.Text
after one step changing requested part and also removing "$" around last word (what shouldn't happen).Minimal example of project and docx file which I used as template you can find here: https://github.com/Kazbek/NpoiTextReplaceDemo
If you need any additional details tell me.
The text was updated successfully, but these errors were encountered: