Create a Horizontal Line Using the hr Element

Does anyone know why this works? switching the p tag and the em tag

Cause it’s a bug and switching the p tag and em tag is a qronga syntax as well so leaving this challenge and moving in is the best thing you can do.

This worked for me too LOL

Putting the ‘p’ element inside the ‘em’ element resolved my problem. Thanks @Raaffael!

the reason swapping the

and element works is because who ever wrote the test in their react object code made a mistake in the regular expression.
See the bit of code that beings “code.match(…” well it wants to find the


tag before an tag.

Guys, please fix that for people. Giving code isn’t going to teach anyone to be a better developer. I looked in the console and sources to find this problem.

the fix will release soon hopefully

Thank those ones of you who came with the em before p solution!
I was stuck too (~_~;)
Having said that, are you completely sure that it is a bug and not, for whatever reason, compulsory? I am asking because, for example, in the website Goodreads.com something similar happens with HTML formatting:
48