From 92902696abd1cede3ce4ca0632ecbb6857de44c5 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 16 Jan 2025 13:07:37 -0600 Subject: [PATCH] less strict tutorial regex for

--- views/tutorial/html/3.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/tutorial/html/3.erb b/views/tutorial/html/3.erb index 1dbb7c99..ea49a8cd 100644 --- a/views/tutorial/html/3.erb +++ b/views/tutorial/html/3.erb @@ -25,7 +25,7 @@ function checkHomework() { var html = editor.getValue() - if(!html.match(/

\S.+<\/h1>/)) { + if(!html.match(/

.+<\/h1>/)) { notok("That doesn't look like a header! Try again.") } else { sessionStorage.setItem('tutorialHtml', html)