From bb905c9628d8e688dd23f072df398971fad46c41 Mon Sep 17 00:00:00 2001 From: Exp <17885980+exp111@users.noreply.github.com> Date: Thu, 10 Dec 2020 23:19:55 +0100 Subject: [PATCH] Fixes Paper throwing when you insert invalid tags (#2732) --- Content.Client/GameObjects/Components/Paper/PaperWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Client/GameObjects/Components/Paper/PaperWindow.cs b/Content.Client/GameObjects/Components/Paper/PaperWindow.cs index d2ac5dde08..f34bdf1bd2 100644 --- a/Content.Client/GameObjects/Components/Paper/PaperWindow.cs +++ b/Content.Client/GameObjects/Components/Paper/PaperWindow.cs @@ -1,4 +1,4 @@ -using Content.Shared.GameObjects.Components; +using Content.Shared.GameObjects.Components; using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.CustomControls; using Robust.Shared.Maths; @@ -29,7 +29,7 @@ namespace Content.Client.GameObjects.Components.Paper Input.Visible = true; } var msg = new FormattedMessage(); - msg.AddMarkup(state.Text); + msg.AddMarkupPermissive(state.Text); _label.SetMessage(msg); } }