From 403d7767308ca6997a309aecf3508f0fc5a30c71 Mon Sep 17 00:00:00 2001 From: Wen Liang Date: Mon, 17 May 2021 09:56:51 -0400 Subject: [PATCH] Remove unnecessary escaping for single quote When writing XML text with XML library, single quote will not be escaped. So remove the escaping for single quote in current tool. Signed-off-by: Wen Liang --- tools/generate-docs-nm-property-infos.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/generate-docs-nm-property-infos.py b/tools/generate-docs-nm-property-infos.py index 90c51b846f..7286da8f20 100755 --- a/tools/generate-docs-nm-property-infos.py +++ b/tools/generate-docs-nm-property-infos.py @@ -112,7 +112,6 @@ def escape_xml_char(text): text = text.replace("<", "<") text = text.replace(">", ">") text = text.replace('"', """) - text = text.replace("'", "'") return text