Talis.7261:

When retrieving the german world names, there is a <br> tag in “Meer des Leids”. This makes it pretty ugly when displaying it on a HTML page.

https://api.guildwars2.com/v1/world_names.json?lang=de

Think.8042:

This is a general problem. The same thing happens on the new leaderboards and the ingame world selection window. I think it’s been reported for a looong time but I can’t find the thread right now…

smiley.1438:

Hmm…

http://php.net/manual/en/function.strip-tags.php
http://api.prototypejs.org/language/String/prototype/stripTags/

something like this may help

Think.8042:

Sure. But what about trying to get the source fixed instead of using ugly workarounds (which we can’t use for the leaderboards for example)?

smiley.1438:

Then, on the other hand, would be a lot more to fix… ;D
In case you run the data through a script (which is the case in 99.9% i guess) then it’s not too hard to strip tags while you’re at it.

Cliff Spradlin.3512:

Hi,

Think is right. This is a problem with the source text.

I talked to the localization team, and they’ve agreed to remove the <br> from the German text.

Thanks a lot for the bug report!

Cliff Spradlin.3512:

This should be fixed now.

smiley.1438:

Yep, looks fine now.

btw. have you looked into that double space thing yet? I belive that most french and spanish items (~6200 each) with runes on them are affected.

example: https://api.guildwars2.com/v1/item_details.json?item_id=30189&lang=es

pattern: name [double space] suffix