[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:
parent
e91a160924
commit
ff102fbbe8
5 changed files with 1893 additions and 2023 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue