cmss13-devs / cmss13-devs/cmss13

Medal text is not sanitized properly

Open
#5,668 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
DM
Stars
170
Forks
940
Avg merge
5d 16h
Merged PRs (30d)
61

Description

### Testmerges

#5007 #5392 #5552 #5628

### Round ID

20746

### Description of the bug

Some special characters are not escaped properly in the medal text:

![image](https://github.com/cmss13-devs/cmss13/assets/49321394/676ec13f-3db7-40b8-8b95-29f09be3233f)

### What's the difference with what should have happened?

Special characters should be properly escaped so we don't end up with 's.

### How do we reproduce this bug?

1. Award medal to someone
2. End the round
3. See endgame text

### Issue Bingo

- [ ] Issue could be reproduced at least once
- [X] Issue happened in a recent (less than 7 days ago) round
- [X] Couldn't find an existing issue about this (https://github.com/cmss13-devs/cmss13/issues)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.