Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(204): add tests to validate doctype if removed
- Loading branch information
1 parent
18898af
commit b494163
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/svelte2tsx/test/htmlx2jsx/samples/doctype/expected.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<><html lang="en"> | ||
<body> | ||
<h1>Svelte</h1> | ||
</body> | ||
</html></> |
6 changes: 6 additions & 0 deletions
6
packages/svelte2tsx/test/htmlx2jsx/samples/doctype/input.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<body> | ||
<h1>Svelte</h1> | ||
</body> | ||
</html> |