summaryrefslogtreecommitdiff
path: root/tools/generate-docs-nm-property-infos.py
diff options
context:
space:
mode:
authorWen Liang <liangwen12year@gmail.com>2021-05-17 09:56:51 -0400
committerThomas Haller <thaller@redhat.com>2021-05-17 23:28:56 +0200
commit403d7767308ca6997a309aecf3508f0fc5a30c71 (patch)
tree51d84a77ad40147e03e2af39e197386b32e14a25 /tools/generate-docs-nm-property-infos.py
parentf6e52708a2d0217bf766cf1421280daf3bacf496 (diff)
downloadNetworkManager-403d7767308ca6997a309aecf3508f0fc5a30c71.tar.gz
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 <liangwen12year@gmail.com>
Diffstat (limited to 'tools/generate-docs-nm-property-infos.py')
-rwxr-xr-xtools/generate-docs-nm-property-infos.py1
1 files changed, 0 insertions, 1 deletions
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("<", "&lt;")
text = text.replace(">", "&gt;")
text = text.replace('"', "&quot;")
- text = text.replace("'", "&apos;")
return text