Skip to content
This repository has been archived by the owner on Jan 12, 2018. It is now read-only.

Commit

Permalink
Merge pull request #17 from whatisdot/master
Browse files Browse the repository at this point in the history
Tabs are important too.
  • Loading branch information
mikemaccana committed May 19, 2012
2 parents 0517134 + 09c8dd1 commit 647ee97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docx.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,8 @@ def getdocumenttext(document):
if element.tag == '{'+nsprefixes['w']+'}t':
if element.text:
paratext = paratext+element.text
elif element.tag == '{'+nsprefixes['w']+'}tab':
paratext = paratext + '\t'
# Add our completed paragraph text to the list of paragraph text
if not len(paratext) == 0:
paratextlist.append(paratext)
Expand Down

0 comments on commit 647ee97

Please sign in to comment.