fix: rwd beta - ferris wheel step 1 html test (#44625)

* fix: rwd beta - ferris wheel step 1 html test

* fix: update regex to require new line/remove caret
pull/44645/head
Bruce B 2022-01-01 18:35:27 -08:00 committed by GitHub
parent a9852c7180
commit 070ef7bb09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ assert(code.match(/<\/html\s*>/));
Your `html` element should be below the `DOCTYPE` declaration.
```js
assert(code.match(/^\s*<!DOCTYPE\s+html\s*>[\s\S]*<\s*html\s*>/gi));
assert(code.match(/\s*<!DOCTYPE\s+html\s*>(\r?\n)+<\s*html\s*>/gi));
```
You should have an opening `head` tag.