Lorem ipsum dolor sit amet, elit eget consectetuer adipiscing aenean dolor

[FIXED] News contain invalid HTML tags

Platform, device version and operating system:
PC (but actually does not matter)

Screenshot or image:
grafik
</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

  1. Subscribe to Gems of War with a RSS feed reader
  2. Select today’s news (Web Of Shadows)
  3. Either: Apply a HTML to Markdown converter to the formatting or just view the source of the website
  4. 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.

2 Likes

We haven;t changed our formatting, so this might be an issue with the client. Unfortunately this isn’t a bug that takes priority for fixing, so it may not be resolved for a while.

Hey Saltypatra, thanks for reporting. I checked this on manual downloads as well, so it’s not the client. The above screenshot was in fact taken from a browser window viewing the news.

Update: Not only does this still exist, but today there was a new case of invalid characters occurring, which even made your own news feed choke: <3. It was written plainly into the website’s HTML, which browsers will tolerate, even though it’s broken (screenshot 1, source code of New Pet – – Gems of War) //edit ironic side note: even the forum preview of the link chokes on the proper title...
grafik

and in the feed, fetched from Gems of War, it is completeley scrubbed from existence, screenshot 2, title of the feed, &#8211; is a dash:
grafik
expected contents: <title>New Pet &#8211; &lt;3 (Nintendo Switch)</title>

In total, the news feed is chopped off at the invalid character, so you can’t even see whether this is PC or Switch news.

Cheers, Gary.

2 Likes

Half off-topic:
The bounty news for this weekend is completely weird. Everything is fine with Hound of Yao Guai, but the other one has a couple of mistakes:

  • The title does not indicate Nintendo Switch, so going to https://gemsofwar.com/news/ gives you unclear information about the platform (also my bot can’t tell, so PC players got two posts, Switch players got none)
  • The Ice Wraith posting for Switch has mixed content: Both Ice Wraith and Ogress are mentioned, and a picture of Ogress is showing:
  • Needless to say that the broken html tags are still in there: grafik

Cheers, Gary.

1 Like

Thanks for letting me know!

2 Likes

thank you, this seems to be fixed now, marking it accordingly.

2 Likes