]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Clean out tags when attempting to speak/whisper/emote (#23055)
authorHannah Giovanna Dawson <karakkaraz@gmail.com>
Sat, 30 Dec 2023 00:38:11 +0000 (00:38 +0000)
committerGitHub <noreply@github.com>
Sat, 30 Dec 2023 00:38:11 +0000 (20:38 -0400)
commit84f544ff103d038c33309494c4bbc4cd9698839a
treecfb629772a41170f8790595baf87987ab815b3da
parent530e3c4add27f3ec3636bbd284dc2878b63acfaa
Clean out tags when attempting to speak/whisper/emote (#23055)

A few bugs have popped up where (legal) string formatting tags
have been duplicated out into whisper and local.

Using the RemoveMarkup static we can sanitize attempted
speech to remove markup.
Content.Server/Chat/Systems/ChatSystem.cs