def strip_HTML(s):
result = '<STR_LIT>'<EOL>total = <NUM_LIT:0><EOL>for c in s:<EOL><INDENT>if c == '<STR_LIT:<>':<EOL><INDENT>total = <NUM_LIT:1><EOL><DEDENT>elif c == '<STR_LIT:>>':<EOL><INDENT>total = <NUM_LIT:0><EOL>result += '<STR_LIT:U+0020>'<EOL><DEDENT>elif total == <NUM_LIT:0>:<EOL><INDENT>result += c<EOL><DEDENT><DEDENT>return result<EOL>
Simple, clumsy, slow HTML tag stripper