Bouke / docx-mailmerge

Mail merge for Office Open XML (docx) files without the need for Microsoft Office Word.
MIT License
273 stars 104 forks source link

Cannot add tabs to merge. #71

Open mpbunch opened 5 years ago

mpbunch commented 5 years ago

Tabs \t do not seem to work in merge fields.

Expected Behavior

\t should create a tab

Current Behavior

\t does not create a tab

Possible Solution

Steps to Reproduce (for bugs)

document.merge(mergeField="Some description:\n\tThis is a tab.")

Context

I am unable to add tabs to my document. As a hack I tried adding multiple spaces, which does not work either.

Your Environment