def _strip_once(value):
 s = MLStripper()
 try:
  s.feed(value)
 except HTMLParseError:
  return value
 try:
  s.close()
 except HTMLParseError:
  return (s.get_data() + s.rawdata)
 else:
  return s.get_data()

def _strip_once ( value ) : s = MLStripper ( ) try : s . feed ( value ) except HTMLParseError : return value try : s . close ( ) except HTMLParseError : return ( s . get_data ( ) + s . rawdata ) else : return s . get_data ( )
internal tag stripping utility used by strip_tags .