[Mapbender-commits] r5444 - branches/2.6/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jan 28 09:06:13 EST 2010


Author: christoph
Date: 2010-01-28 09:06:12 -0500 (Thu, 28 Jan 2010)
New Revision: 5444

Modified:
   branches/2.6/http/classes/class_gml_feature.php
Log:


Modified: branches/2.6/http/classes/class_gml_feature.php
===================================================================
--- branches/2.6/http/classes/class_gml_feature.php	2010-01-28 12:32:28 UTC (rev 5443)
+++ branches/2.6/http/classes/class_gml_feature.php	2010-01-28 14:06:12 UTC (rev 5444)
@@ -63,7 +63,7 @@
 		$str .= ", \"properties\": ";
 		$cnt = 0;
 		foreach ($this->properties as $key => $value) {
-				$prop[$key] = $value;
+				$prop[$key] = preg_replace('/\r\n|\r|\n/', '\\n', $value);
 				$cnt ++;
 		}
 



More information about the Mapbender_commits mailing list