Markdown Previewer not passing test 6

Markdown Previewer not passing test 6
0

#1

I have built my markdown previewer recently (https://codepen.io/m-oliv/full/pVzKPP/), but I’m having trouble with the tests.

The code isn’t passing the 6th test (“6. When my markdown previewer first loads, the default markdown in the #editor field should be rendered as HTML in the #preview element”).

However, it seems to be working correctly, since the input from the editor is being converted to markdown and presented as HTML in the previewer. You can find the code of my markdown previewer in my codepen (linked above).

I checked, and it doesn’t seem to be a problem with the test, since I’m using the same link that is in the example app in free code camp’s codepen.

I’ve also checked for similar issues in the forums, but didn’t find anything similar.

Do you have any idea how to find and fix the problem?

Thanks.


#3

I’ve figured it out. There was some problem with the input, which somehow included invalid characters.


#4

Hi i have the same problem test 6 is annoying, how did you solve this?