Bouke / docx-mailmerge

Mail merge for Office Open XML (docx) files without the need for Microsoft Office Word.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot add tabs to merge.

mpbunch opened this issue · comments

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

  • Python version: Python 2.7.16
  • docx-mailmerge version: 0.4.0