with it replace %r in the string "junk characters in start tag: %r", call the method self.error with the resulting string as an argument. if string end ends with string '/>',
if end . endswith ( '/>' ) :