Question:
I am paranoid about security. Write a python program that, given a string as input, returns a new string with all JavaScript removed. Keep as much HTML as possible, but remove all javascript.
Answer:
It must remove all JavaScript. At least some useful content must remain.
Resolution Criteria: I will run the output through the html-sanitizer-testbed. It must pass.