From 29531ace191a81864dfd22b04eea923e88625288 Mon Sep 17 00:00:00 2001 From: domna Date: Fri, 10 Nov 2023 15:27:44 +0100 Subject: [PATCH] Use strip short notation --- dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py b/dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py index a1d208867..da8fa353b 100644 --- a/dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py +++ b/dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py @@ -284,7 +284,7 @@ def handle_each_part_doc(text): Formated text """ - clean_txt = text.strip().strip('"') + clean_txt = text.strip(' "') if not clean_txt.startswith("xref:"): return format_nxdl_doc(check_for_mapping_char_other(clean_txt)).strip()