1) Added extra check in qtLiteral method.

2) Fixed some escaping issues.
This commit is contained in:
Akshay Joshi committed 2023-07-12 15:26:19 +05:30
1 parent 940d190bc8
commit 45b1794941
3 files changed
+5 -7

No files matched your search

+2 -4
View File
@@ -38,7 +38,7 @@ def underscore_escape(text):
'>': ">",
'"': """,
'`': "`",
"'": "'"
"'": "'"
}
# always replace & first
@@ -63,9 +63,7 @@ def underscore_unescape(text):
">": '>',
""": '"',
"`": '`',
"'": "'",
"'": "'",
""": '"'
"'": "'"
}
# always replace & first