# HG changeset patch # User Sebastian Kruse # Date 1362664573 -3600 # Node ID 593cfbd58c3e28969c365d5cfa978d0337f8b389 # Parent ed444173aef072a6eb2f0501b55fc129ec489430 CSV conversion: place name, address and descrption in CDATA blocks (prevents bugs with special characters as < etc.) diff -r ed444173aef0 -r 593cfbd58c3e war/scripts/sti/STICore.js --- a/war/scripts/sti/STICore.js Thu Mar 07 14:47:36 2013 +0100 +++ b/war/scripts/sti/STICore.js Thu Mar 07 14:56:13 2013 +0100 @@ -690,15 +690,15 @@ for (var j = 0; j < innerArray.length; j++) { /* Name */ if (usedHeaders[j] == expectedHeaders[0]) { - kmlString += '\t\t\t' + innerArray[j] + '\n'; + kmlString += '\t\t\t\n'; } /* Address */ if (usedHeaders[j] == expectedHeaders[1]) { - kmlString += '\t\t\t
' + innerArray[j] + '
\n'; + kmlString += '\t\t\t
\n'; } /* Description */ if (usedHeaders[j] == expectedHeaders[2]) { - kmlString += '\t\t\t' + innerArray[j] + '\n'; + kmlString += '\t\t\t\n'; } /* TimeStamp */ if (usedHeaders[j] == expectedHeaders[5]) {