From 15640611cfe1e3375ca6dd75bb1574dbd218561f Mon Sep 17 00:00:00 2001 From: Fang Huang Date: Fri, 8 Dec 2023 13:21:19 +0800 Subject: [PATCH] scripts: logging/dictionary/sys-t: remove escape between CDATA This removes escape from generate XML_CATALOG_EACH string, because the string between CDATA tag need to be treated as normal text. Signed-off-by: Fang Huang --- scripts/logging/dictionary/dictionary_parser/mipi_syst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/logging/dictionary/dictionary_parser/mipi_syst.py b/scripts/logging/dictionary/dictionary_parser/mipi_syst.py index 467e74400c1..046a120d2fc 100644 --- a/scripts/logging/dictionary/dictionary_parser/mipi_syst.py +++ b/scripts/logging/dictionary/dictionary_parser/mipi_syst.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (c) 2022 Intel Corporation +# Copyright (c) 2022 - 2023 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 @@ -106,7 +106,7 @@ def __gen_syst_catalog(database): fmt = XML_CATALOG32_EACH for addr, one_str in database.get_string_mappings().items(): - xml += fmt.format(addr, escape(one_str)) + xml += fmt.format(addr, one_str) if database.is_tgt_64bit(): xml += XML_CATALOG64_FOOTER