mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
less strict tutorial regex for <h1></h1>
This commit is contained in:
parent
1bddcd4cfb
commit
92902696ab
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
function checkHomework() {
|
||||
var html = editor.getValue()
|
||||
|
||||
if(!html.match(/<h1>\S.+<\/h1>/)) {
|
||||
if(!html.match(/<h1>.+<\/h1>/)) {
|
||||
notok("That doesn't look like a header! Try again.")
|
||||
} else {
|
||||
sessionStorage.setItem('tutorialHtml', html)
|
||||
|
|
Loading…
Add table
Reference in a new issue