From: robertl Date: Mon, 28 Jun 2010 21:25:49 +0000 (+0000) Subject: Fix bogus CDATA encoding of description in KML tags. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~950 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d56a21807bc2db4a1b3db45c3d03d037466571fb;p=gpsbabel.git Fix bogus CDATA encoding of description in KML tags. --- diff --git a/gpsbabel/kml.c b/gpsbabel/kml.c index 8e41317b4..1ce8ff514 100644 --- a/gpsbabel/kml.c +++ b/gpsbabel/kml.c @@ -413,9 +413,9 @@ kml_write_xmle(const char *tag, const char *fmt, ...) if (strspn(tmp_ent, "&'<>\"")) needs_escaping = 1; gbfprintf(ofd, "<%s>", tag); - if (needs_escaping) gbfprintf(ofd, ""); gbfprintf(ofd, "\n", tag); xfree(tmp_ent); }