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

Added regression test to check for runaway execution in html.strip_tags.
Could you make this file the minimal content necessary to reproduce the bug? Actually, if it's small enough, I'd just include the string in the test to avoid file parsing.