Closed jaimeiniesta closed 3 years ago
I've investigated this a bit more and the duplicate ending tag for </h2>
and </h3>
can be found in the parsed lessons, for example:
SchoolHouse.Lessons.get("basics", "enum", "en")
In the following screenshot, the parsed lesson has a duplicate tag for h2 (and also for h3):
The original markdown content seems to be fine, but somewhere in the lesson parsing these end tags are being duplicated.
I think I can fix this. I'll start from your existing jaime-fix-lesson-parsing branch.
This issue has been fixed on the latest deploy after #169
Thanks @vclayton @doomspork ! 💪 🚀
Our main HTML issues right now are related to stray end tags for
h2
andh3
and others, as per this report:https://rocketvalidator.com/s/756478bb-7472-42d3-b1e2-720c28a0a962/i?search=Stray+end+tag&page=1&non_doc=false
In this report you can get details of where this issue is exactly happening, but for example see the HTML source for:
https://elixirschool.com/de/lessons/basics/basics
As you see there are duplicated
<h2>
and<h3>
there.Also note that https://rocketvalidator.com can now be used without an account, I hope it helps in finding HTML and Accessibility issues that need attention :)