Strange Code in Preview
See original GitHub issueChallenge standardize-times-with-the-html5-datetime-attribute has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
I’m not really sure how to recreate this. The preview is displaying information that isn’t in the code-box. It appears to be doing this for several challenges. I’ve attached a snapshot from the lesson prior to this one. It’s still persisting on this challenge.
<body>
<header>
<h1>Tournaments</h1>
</header>
<article>
<h2>Mortal Combat Tournament Survey Results</h2>
<!-- Add your code below this line -->
<p>Thank you to everyone for responding to Master Camper Cat's survey. The best day to host the vaunted Mortal Combat tournament is Thursday, September 15<sup>th</sup>. May the best ninja win!</p>
<!-- Add your code above this line -->
<section>
<h3>Comments:</h3>
<article>
<p>Posted by: Sub-Zero on <time datetime="2016-08-13T20:01Z">August 13<sup>th</sup></time></p>
<p>Johnny Cage better be there, I'll finish him!</p>
</article>
<article>
<p>Posted by: Doge on <time datetime="2016-08-15T08:12Z">August 15<sup>th</sup></time></p>
<p>Wow, much combat, so mortal.</p>
</article>
<article>
<p>Posted by: The Grim Reaper on <time datetime="2016-08-16T00:00Z">August 16<sup>th</sup></time></p>
<p>Looks like I'll be busy that day.</p>
</article>
</section>
</article>
<footer>© 2016 Camper Cat</footer>
</body>
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Topic: Strange lines of code show up in my preview/post: "Normal 0 ...
Often while editing my post, everything looks normal, then when I click “preview” or “publish”, the following lines of code show up.
Read more >The Preview Text Hack You May Want to Use in Every Email
Learn the preview text hack that creates white space in this valuable piece of email real estate.
Read more >Why am I getting weird characters? - Apple Community
You may need to go and look at it yourself. Just go to your web page, right click on any of the pages,...
Read more >I See Strange Characters on My Page... - CoffeeCup Software
I See Strange Characters on My Page when I Preview My Website. ... These characters do not appear in the source code.
Read more >Telescope preview showing weird characters between my code
I've been using telescope but many of my files have these weird characters between my code in preview. Does anyone know how to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes, thanks @systimotic closing as a duplicate.
I think there is a more fundamental issue with loopProtect running outside of Javascript code that should be fixed (see https://github.com/freeCodeCamp/freeCodeCamp/issues/12683, of which this issue is a duplicate, I think). @tmashuang Nice work on figuring out that the semicolon triggered loopProtect. We should probably dive into the source to see when it is activated.