[GRASS-SVN] r69446 - grass/branches/releasebranch_7_2/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 11 18:37:19 PDT 2016
Author: annakrat
Date: 2016-09-11 18:37:19 -0700 (Sun, 11 Sep 2016)
New Revision: 69446
Modified:
grass/branches/releasebranch_7_2/gui/wxpython/core/workspace.py
Log:
wxGUI: escape ampersand when writing d.wms into workspace, see #3147 (merge from trunk, r69445)
Modified: grass/branches/releasebranch_7_2/gui/wxpython/core/workspace.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/core/workspace.py 2016-09-12 01:34:50 UTC (rev 69445)
+++ grass/branches/releasebranch_7_2/gui/wxpython/core/workspace.py 2016-09-12 01:37:19 UTC (rev 69446)
@@ -914,6 +914,7 @@
"""Make value XML-valid"""
value = value.replace('<', '<')
value = value.replace('>', '>')
+ value = value.replace('&', '&')
return value
More information about the grass-commit
mailing list