Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Town names wrapped in angle brackets don't display properly on the map #1858

Open
3meraldK opened this issue Aug 8, 2024 · 0 comments
Labels

Comments

@3meraldK
Copy link

3meraldK commented Aug 8, 2024

Server

Aurora

Describe the bug

Town names wrapped in angle brackets, for example <Example_Town> will not display properly, because browser parses its name as HTML tag. Tooltip and popup of any that town will not display its name.
You can also experiment with this bug. For example naming a town <p id="map"> will cause your town's popup and tooltip to look weird

To Reproduce

Hover cursor over any that town or view its popup.
How to find any that town:

  1. Download raw https://map.earthmc.net/tiles/minecraft_overworld/markers.json
  2. In text editor, find by \u003cb\u003e\u003c
  3. Town's name is just right after result

Expected behavior

Town names display normally at any case

Screenshots

image

Additional context

I don't know plugin versions, so I'm unable to report directly on MapTowny repository.
No response

@3meraldK 3meraldK added the Issue type: Bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants