diff --git a/changelog_unreleased/html/15748.md b/changelog_unreleased/html/15748.md new file mode 100644 index 000000000..46142fe3c --- /dev/null +++ b/changelog_unreleased/html/15748.md @@ -0,0 +1,18 @@ +#### Fix formatting of prettier-ignored unclosed elements (#15748 by @fisker) + + +```html + + +
Look at these HTML tags
+interpreted as actual HTMLLook at these HTML tags
+interpreted as actual HTML+# Hello world! +
+# Hello world! + +
+ +================================================================================ +`; diff --git a/tests/format/html/prettier_ignore/issue-15738.html b/tests/format/html/prettier_ignore/issue-15738.html new file mode 100644 index 000000000..c954272c4 --- /dev/null +++ b/tests/format/html/prettier_ignore/issue-15738.html @@ -0,0 +1,19 @@ + + + + + +Look at these HTML tags
+interpreted as actual HTML+# Hello world! +