summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-11-25 23:49:26 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-11-25 23:49:26 (GMT)
commit1ab42e9945a6d6a81ac25775af7fb6fa9fd1cbae (patch)
tree4a6f0b05e7cd4c336005d8cc2e57420495fac83e /src/engine/SCons
parent01d3b114c7d82ca3dbeb912fe192986cc95b1723 (diff)
parentcd856daadb0700fff703171f48b74dce60dc4279 (diff)
downloadSCons-1ab42e9945a6d6a81ac25775af7fb6fa9fd1cbae.zip
SCons-1ab42e9945a6d6a81ac25775af7fb6fa9fd1cbae.tar.gz
SCons-1ab42e9945a6d6a81ac25775af7fb6fa9fd1cbae.tar.bz2
Merged in dmoody256/scons (pull request #373)
fix for invalid xml getting generated to SCons generated visual studio projects
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