def spaceCompress(text):
     try:
         text = unicode(text, 'utf-8')
     except TypeError:
         text = unicode(text)
     if not g.compress_whitespace:
         return text
     return uspace_compress(text)
Exemple #2
0
 def spaceCompress(text):
     try:
         text = unicode(text, 'utf-8')
     except TypeError:
         text = unicode(text)
     return uspace_compress(text)
Exemple #3
0
 def spaceCompress(text):
     try:
         text = unicode(text, 'utf-8')
     except TypeError:
         text = unicode(text)
     return uspace_compress(text)