Markdown Previewer on beta FCC - I can't pass test nr7, is it a bug?

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>:thinking:

Thanks for help

Fixed. In my default text was this part:
# This is an <h1>
and because of that h1 I couldn’t pass test nr7. After removing this “h1” all works perfect :smiley:
Thanks for help @asanhix