[pod] Take into account tabs. 'do ... from text' is now obsolete: pod expression now handle correctly tabs and carriage returns.

This commit is contained in:
Gaetan Delannay 2014-03-06 11:33:47 +01:00
parent e91a160924
commit ff102fbbe8
5 changed files with 1893 additions and 2023 deletions

View file

@ -189,7 +189,7 @@ class Buffer:
def dumpContent(self, content):
'''Dumps string p_content into the buffer.'''
if self.pod:
# Take care of converting line breaks to odf line breaks.
# Take care of converting line breaks and tabs.
content = escapeXml(content, format='odf',
nsText=self.env.namespaces[self.env.NS_TEXT])
else: