My first attempt as a solution that should be valid but it’s not:
The solution is adding a space after calling the variable:
html += "<strong>" + key + "</strong>: "+ val[key] + "<br>";
Both solutions should be correct. Almost certain that is an error of regex.
I looked through the github repo and saw that this was the regex:
assert(code.match(/html\s+?(\+=|=\shtml\s\+)/g));
and the regex exp should be:
assert(code.match(/html\s*?(\+=|=\shtml\s\+)/g));
I’m not sure how to change the repo itself so I posted the issue here.