示例#1
0
 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)
示例#2
0
 def spaceCompress(text):
     try:
         text = unicode(text, 'utf-8')
     except TypeError:
         text = unicode(text)
     return uspace_compress(text)
示例#3
0
 def spaceCompress(text):
     try:
         text = unicode(text, 'utf-8')
     except TypeError:
         text = unicode(text)
     return uspace_compress(text)