diff --git a/changelog_unreleased/html/pr-8173.md b/changelog_unreleased/html/pr-8173.md
index 7be9a7858..e08af3f8e 100644
--- a/changelog_unreleased/html/pr-8173.md
+++ b/changelog_unreleased/html/pr-8173.md
@@ -1,4 +1,9 @@
-#### Support legacy HTML-like comments script blocks ([#8173](https://github.com/prettier/prettier/pull/8173) by [@fisker](https://github.com/fisker))
+#### Support legacy HTML-like comments script blocks ([#8173](https://github.com/prettier/prettier/pull/8173) by [@fisker](https://github.com/fisker), [#8394](https://github.com/prettier/prettier/pull/8394) by [@fisker](https://github.com/fisker))
+
+Previously we parse html `
+
+
+
+=====================================output=====================================
+
+
+
+
+================================================================================
+`;
+
exports[`legacy.html format 1`] = `
====================================options=====================================
parsers: ["html"]
diff --git a/tests/html/script/babel.html b/tests/html/script/babel.html
new file mode 100644
index 000000000..75ff3bed2
--- /dev/null
+++ b/tests/html/script/babel.html
@@ -0,0 +1,14 @@
+
+
+