Fixed Wrapping [code][/code] to avoid breaking display

Scorpianhead

Active Member
Reaction score
81
Bug Priority
Minor Bug (doesn't really affect gameplay)
Bug Type
Graphical bug
Bug Occurrence URL
https://en117.tribalwars.net/game.php?screen=memo
Bug Reproduction Steps
Go to notebook, mail, forum, etc. and use
Code:
with 100+ coordinates.
Bug Reproducibility
Happens always
I'm not sure whether this is a bug report or a feature request, but due to the result of this issue, I can assume this is not the intended behaviour of the ingame [.code][./code] tag.

[.code][./code] is commonly used when sending fake scripts as the village coordinates auto bbcode. When the amount of text in the [.code] tag is long enough, it breaks the game display. The existing work around is to use a [.spoiler] around the [.code], but this seems rather unnecessary.

Shouldn't the [.code] behave in such a way that it doesn't ruin the game interface?

Example video:
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
I was able to replicate this bug on the memo screen (Notebook).

The fix to this bug is pretty simple. Just a one line CSS fix:

1630877070770.png

Red.
 

JawJaw

Awesomest CM Ever
Reaction score
2,210
Submitted under DS-22284

Thank you for reporting this problem to us!
 
Top