mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 08:10:03 -06:00
1) Added extra check in qtLiteral method.
2) Fixed some escaping issues.
This commit is contained in:
1 parent
940d190bc8
commit
45b1794941
3 files changed
+5
-7
No files matched your search
@@ -38,7 +38,7 @@ def underscore_escape(text):
|
||||
'>': ">",
|
||||
'"': """,
|
||||
'`': "`",
|
||||
"'": "'"
|
||||
"'": "'"
|
||||
}
|
||||
|
||||
# always replace & first
|
||||
@@ -63,9 +63,7 @@ def underscore_unescape(text):
|
||||
">": '>',
|
||||
""": '"',
|
||||
"`": '`',
|
||||
"'": "'",
|
||||
"'": "'",
|
||||
""": '"'
|
||||
"'": "'"
|
||||
}
|
||||
|
||||
# always replace & first
|
||||
|
||||
Reference in new issue
Block a user