From 696eda3c8a56f7aecf5654bacac71553be95d69f Mon Sep 17 00:00:00 2001 From: Jessica M Date: Fri, 25 Sep 2026 12:08:00 +0000 Subject: [PATCH] Fix ID card names can use markup in PDAs (#44426) remove markup --- Content.Client/PDA/PdaMenu.xaml.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Content.Client/PDA/PdaMenu.xaml.cs b/Content.Client/PDA/PdaMenu.xaml.cs index c144cca7a2..0af1d020c3 100644 --- a/Content.Client/PDA/PdaMenu.xaml.cs +++ b/Content.Client/PDA/PdaMenu.xaml.cs @@ -143,7 +143,7 @@ namespace Content.Client.PDA { _pdaOwner = state.PdaOwnerInfo.ActualOwnerName; PdaOwnerLabel.SetMarkup(Loc.GetString("comp-pda-ui-owner", - ("actualOwnerName", _pdaOwner))); + ("actualOwnerName", FormattedMessage.RemoveMarkupPermissive(_pdaOwner)))); PdaOwnerLabel.Visible = true; } else @@ -156,9 +156,10 @@ namespace Content.Client.PDA { _owner = state.PdaOwnerInfo.IdOwner ?? Loc.GetString("comp-pda-ui-unknown"); _jobTitle = state.PdaOwnerInfo.JobTitle ?? Loc.GetString("comp-pda-ui-unassigned"); + IdInfoLabel.SetMarkup(Loc.GetString("comp-pda-ui", - ("owner", _owner), - ("jobTitle", _jobTitle))); + ("owner", FormattedMessage.RemoveMarkupPermissive(_owner)), + ("jobTitle", FormattedMessage.RemoveMarkupPermissive(_jobTitle)))); } else {