Open jleclanche opened 8 years ago
Is this fixed?
https://api.hearthstonejson.com/v1/15590/enUS/cards.json
"text":"[x]<b><b>Spell Damage</b> +1</b>\nAfter you cast a spell,\ngive your C'Thun +1/+1\n<i>(wherever it is).</i>"
"text" : "[x]<b><b>Taunt</b>\nBattlecry:</b> If your C'Thun has\nat least 10 Attack, summon\nanother Emperor."
It's not fixed no
is the issue that there are two opening <b>
tags at the start of the text?
Yes.
I would like to bring this up again as valid html
https://validator.w3.org/#validate_by_input
<!DOCTYPE html>
<html lang="en">
<head><title>text</title></head>
<body>
<b><b>Taunt</b>\nBattlecry:</b>
</body>
</html>
That it's valid html5 doesn't make it correct to use. html5 is extremely lenient. I'm also saying "html" loosely; it happens to use html tags for bold/italic but it's a stripped down markup.
https://stackoverflow.com/a/22186981
It's not invalid markup to have nested b elements, but there is no definitive answer to what nested b elements would actually mean.
That answer cites the html spec and says that nested should be fine (and mentions that the b tag itself is problematic in general).
<b> <b> </b> </b>
should be nested correctly.
Again, that's really not the point. Whether it's semantically valid is irrelevant.
What is the point of this ticket?
Duplicate bold tags present.
Cult Sorcerer (OG_303):
Twin Emperor Vek'lor (OG_131):
The issue is only present in English.
Ack'd here: https://twitter.com/ywoo_dev/status/724806306175938560