[bin] backup.py: remove Data.fs.old before packing the ZODB to avoid disk space problems; [checkldap] added a param to define the scope of the LDAP query (base, onelevel or subtree); [shared] xml_parser: convert nbsp entity to the equivalent utf-8 char.
This commit is contained in:
parent
528cca9aa0
commit
1be7d9f0ab
8 changed files with 83 additions and 22 deletions
|
@ -330,7 +330,7 @@ class XhtmlEnvironment(XmlEnvironment):
|
|||
'''Dumps content that was temporarily stored in self.currentContent
|
||||
into the result.'''
|
||||
contentSize = 0
|
||||
if self.currentContent.strip():
|
||||
if self.currentContent.strip(' \n\r\t'): # NBSP must not be in this list
|
||||
# Manage missing elements
|
||||
currentElem = self.getCurrentElement()
|
||||
if self.anElementIsMissing(currentElem, None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue