Fix svg/in-html/script-write.html with threaded HTML parser