From b1a3382a197a13bf8d86471a3b0e2b69e3249890 Mon Sep 17 00:00:00 2001 From: AnturK Date: Mon, 28 Mar 2022 16:58:28 +0200 Subject: [PATCH] Fixes paper sanitization. (#65752) --- tgui/packages/tgui/interfaces/PaperSheet.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tgui/packages/tgui/interfaces/PaperSheet.js b/tgui/packages/tgui/interfaces/PaperSheet.js index 6e2959f3425..7994a992995 100644 --- a/tgui/packages/tgui/interfaces/PaperSheet.js +++ b/tgui/packages/tgui/interfaces/PaperSheet.js @@ -608,6 +608,9 @@ export const PaperSheet = (props, context) => { values.field_counter = processing.field_counter; } } + else { + values.text = sanitizeText(text); + } const stamp_list = !stamps ? [] : stamps;