Platform, device version and operating system:
PC (but actually does not matter)
Screenshot or image:
</br>
being the culprit here, highlighted red
What you were expecting to happen, and what actually happened:
I am using the RSS to display a teaser of the news within my Discord bot. While parsing the HTML, I stumbled upon the above invalid tag </br>
, which cannot be properly understood by feed parsers, and thus is ommitted. This breaks formatting.
I expect the tag either to be <br>
or <br />
.
The official W3C validator also lists this as an error.
How often does this happen? When did it begin happening?
This is the second time that I am observing this.
Steps to make it happen again
- Subscribe to Gems of War with a RSS feed reader
- Select today’s news (Web Of Shadows)
- Either: Apply a HTML to Markdown converter to the formatting or just view the source of the website
- Important newlines are missing now
This is more a reminder for future news posts. Please don’t mess up the HTML, so that the structure can be properly inferred and the post is not garbled upon arrival in Discord.
Cheers, Gary
//edit: while I posted this, a new news article was posted, with the same problem as described.