summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index 4d0b20c1930..708ef10364e 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -36,9 +36,7 @@ def val(v, escapeQuotes=False, quoteValue=True):
if not quoteValue or v.find(" ") < 0:
return v
elif escapeQuotes:
- # Work-around for IceGrid bug (ICE-7458) where some characters are escaped when within double-quotes.
- #return "\\\"{0}\\\"".format(v.replace("\\\"", "\\\\\\\""))
- return "\\\"{0}\\\"".format(v.replace("\\\"", "\\'"))
+ return "\\\"{0}\\\"".format(v.replace("\\\"", "\\\\\\\""))
else:
return "\"{0}\"".format(v)
else: