summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2016-11-11 06:26:55 (GMT)
committerDaniel Moody <dmoody256@gmail.com>2016-11-11 06:26:55 (GMT)
commitee1e65643f7d01fade819726280518b2fb72c08e (patch)
treed592376f5a28ed703c68de0d62a8b1df1824dc46 /src/engine/SCons
parent7b6b5aabd09fc6100d56544f2c5b99b57e0c41e7 (diff)
downloadSCons-ee1e65643f7d01fade819726280518b2fb72c08e.zip
SCons-ee1e65643f7d01fade819726280518b2fb72c08e.tar.gz
SCons-ee1e65643f7d01fade819726280518b2fb72c08e.tar.bz2
fix for invalid xml getting generated to SCons generated visual studio projects
made test for this in commit ebf8e9ebf3ac
Diffstat (limited to 'src/engine/SCons')
-rw-r--r--src/engine/SCons/Tool/msvs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/msvs.py b/src/engine/SCons/Tool/msvs.py
index 50f6b27..939668e 100644
--- a/src/engine/SCons/Tool/msvs.py
+++ b/src/engine/SCons/Tool/msvs.py
@@ -65,6 +65,8 @@ def xmlify(s):
s = s.replace("&", "&amp;") # do this first
s = s.replace("'", "&apos;")
s = s.replace('"', "&quot;")
+ s = s.replace('<', "&lt;")
+ s = s.replace('>', "&gt;")
s = s.replace('\n', '&#x0A;')
return s