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)
def spaceCompress(text): try: text = unicode(text, 'utf-8') except TypeError: text = unicode(text) return uspace_compress(text)