def spaceless(parser, token):
 nodelist = parser.parse(('endspaceless',))
 parser.delete_first_token()
 return SpacelessNode(nodelist)

def spaceless ( parser , token ) : nodelist = parser . parse ( ( 'endspaceless' , ) ) parser . delete_first_token ( ) return SpacelessNode ( nodelist )
normalize whitespace between html tags to a single space .