Show error on invalid html in course handout edit + Added tests
STUD-293