From 267357a4b06f790af476375011b9ee4ee600b1df Mon Sep 17 00:00:00 2001 From: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Date: Thu, 1 Jan 2026 12:17:43 -0800 Subject: [PATCH] Fix all currently known markup issues (#42032) * fix 1 * fafa * remove --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> --- Content.Client/Guidebook/Controls/GuidebookRichPrototypeLink.cs | 2 +- Content.Client/Guidebook/DocumentParsingManager.static.cs | 2 +- Content.Client/Info/InfoSection.xaml.cs | 2 +- Content.Client/Info/ServerInfo.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Content.Client/Guidebook/Controls/GuidebookRichPrototypeLink.cs b/Content.Client/Guidebook/Controls/GuidebookRichPrototypeLink.cs index b54dd8b701..1e8b524997 100644 --- a/Content.Client/Guidebook/Controls/GuidebookRichPrototypeLink.cs +++ b/Content.Client/Guidebook/Controls/GuidebookRichPrototypeLink.cs @@ -42,7 +42,7 @@ public sealed class GuidebookRichPrototypeLink : Control, IPrototypeLinkControl public void SetMessage(FormattedMessage message) { _message = message; - _richTextLabel.SetMessage(_message); + _richTextLabel.SetMessage(_message, tagsAllowed: null); } public IPrototype? LinkedPrototype { get; set; } diff --git a/Content.Client/Guidebook/DocumentParsingManager.static.cs b/Content.Client/Guidebook/DocumentParsingManager.static.cs index 3e37942381..c702ac97ad 100644 --- a/Content.Client/Guidebook/DocumentParsingManager.static.cs +++ b/Content.Client/Guidebook/DocumentParsingManager.static.cs @@ -82,7 +82,7 @@ public sealed partial class DocumentParsingManager } msg.Pop(); - rt.SetMessage(msg); + rt.SetMessage(msg, tagsAllowed: null); return rt; }, TextParser) diff --git a/Content.Client/Info/InfoSection.xaml.cs b/Content.Client/Info/InfoSection.xaml.cs index 9e10a4d7b4..95a74c72c7 100644 --- a/Content.Client/Info/InfoSection.xaml.cs +++ b/Content.Client/Info/InfoSection.xaml.cs @@ -18,7 +18,7 @@ public sealed partial class InfoSection : BoxContainer { TitleLabel.Text = title; if (markup) - Content.SetMessage(FormattedMessage.FromMarkupOrThrow(text.Trim())); + Content.SetMessage(FormattedMessage.FromMarkupOrThrow(text.Trim()), tagsAllowed: null); else Content.SetMessage(text); } diff --git a/Content.Client/Info/ServerInfo.cs b/Content.Client/Info/ServerInfo.cs index 901fc91337..a28a3d4a6e 100644 --- a/Content.Client/Info/ServerInfo.cs +++ b/Content.Client/Info/ServerInfo.cs @@ -24,7 +24,7 @@ namespace Content.Client.Info } public void SetInfoBlob(string markup) { - _richTextLabel.SetMessage(FormattedMessage.FromMarkupOrThrow(markup)); + _richTextLabel.SetMessage(FormattedMessage.FromMarkupOrThrow(markup), tagsAllowed: null); } } } -- 2.52.0