From da9d5f25eaff8022ab96de3f39c7f71861c2b00c Mon Sep 17 00:00:00 2001 From: Surya Paolo Date: Wed, 28 Feb 2024 11:37:29 +0100 Subject: [PATCH] =?UTF-8?q?-Circuito=20Italia=20raddoppiato=20sulle=20Atti?= =?UTF-8?q?vit=C3=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/tools/general.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/server/tools/general.js b/src/server/tools/general.js index 7ab4fa5..277c954 100755 --- a/src/server/tools/general.js +++ b/src/server/tools/general.js @@ -4532,6 +4532,24 @@ module.exports = { } }, + convertHTMLTagsToText(input) { + const tagMap = { + "": "", + "": "", + "": "" + }; + + // Replace supported HTML tags with their corresponding text representations + let output = input.replace(/