[Mapbender-commits] r5445 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jan 28 09:07:39 EST 2010
Author: christoph
Date: 2010-01-28 09:07:39 -0500 (Thu, 28 Jan 2010)
New Revision: 5445
Modified:
trunk/mapbender/http/classes/class_gml_feature.php
Log:
Modified: trunk/mapbender/http/classes/class_gml_feature.php
===================================================================
--- trunk/mapbender/http/classes/class_gml_feature.php 2010-01-28 14:06:12 UTC (rev 5444)
+++ trunk/mapbender/http/classes/class_gml_feature.php 2010-01-28 14:07:39 UTC (rev 5445)
@@ -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 ++;
}
@@ -75,4 +75,4 @@
}
}
-?>
\ No newline at end of file
+?>
More information about the Mapbender_commits
mailing list