Replies: 1 comment
-
|
See https://davidgohel.github.io/officer/reference/body_replace_all_text.html section Chunking of text:
|
Beta Was this translation helpful? Give feedback.
-
|
See https://davidgohel.github.io/officer/reference/body_replace_all_text.html section Chunking of text:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I found out that there is an issue with
body_replace_all_text()when used with "Replace all" in Words.Here is my experiment in case anyone wants to try this themself:
"{{" -> "(", and"}}" -> ")"(it will turn into "(name)"), then Save the .docx file (don't change it manually).The output file remains with "(name)", because
body_replace_all_text()cannot find "(name)" that was replaced using "Find and replace". It would be nice if anyone has an idea why this is the case.TLDR:
body_replace_all_text()and Word's "Find and replace" do not work with each other.Beta Was this translation helpful? Give feedback.
All reactions