fix(html/minifier): Preserve JSON script boundaries (#12080)