All works fine, but I can not go thru test nr7:
_“7. When my markdown previewer first loads, the default markdown in the #editor field should be rendered as HTML in the #preview element” _
“AssertionError: #preview does not contain the H1 element represented by the markdown in the #editor field with the inner text This is an <h1>
tag : expected 0 to be at least 1”
The message is different when I use this as an input:
Heading
=======
Sub-heading
-----------
instead of :
# Heading
## Sub-heading
Can somebody look at my code and find where is a problem or is it really a bug?
Maybe test is looking for <H1>
capitalize but in code is lowercase<h1>
…
Thanks for help