sainiamaan
sainiamaan

Reputation: 61

How to escape underscore whilte generating RTF file using Officer Package

I am generating rtf document using officer package. I have footnotes which contains path to the document and it has underscore in it. These unsderscores are missing when the rft is generated.

Example text in footnote: folder1/folder2/test_output.rtf printed output in rtf file: folder1/folder2/test output.rtf

How I can keep underscore in the text.

I tried to escape using "\_" but it is not working.

Upvotes: 0

Views: 31

Answers (0)

Related Questions