[1.6.x] Refs #24001: Added regression test for html.strip_tags

Added regression test to check for runaway execution in html.strip_tags.