[GRASS-SVN] r69447 - grass/branches/releasebranch_7_0/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 11 18:39:31 PDT 2016


Author: annakrat
Date: 2016-09-11 18:39:31 -0700 (Sun, 11 Sep 2016)
New Revision: 69447

Modified:
   grass/branches/releasebranch_7_0/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_0/gui/wxpython/core/workspace.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/core/workspace.py	2016-09-12 01:37:19 UTC (rev 69446)
+++ grass/branches/releasebranch_7_0/gui/wxpython/core/workspace.py	2016-09-12 01:39:31 UTC (rev 69447)
@@ -72,6 +72,7 @@
         """
         value = value.replace('<', '<')
         value = value.replace('>', '>')
+        value = value.replace('&', '&')
         
         return value
 



More information about the grass-commit mailing list