From 8bd96fa13873179cf7e1e5a461d2e1a3a670be48 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 9 Sep 2015 04:00:48 +0200 Subject: Fix html-escape data strings. --- poi2geojson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poi2geojson b/poi2geojson index 7bd808a..a9fac05 100755 --- a/poi2geojson +++ b/poi2geojson @@ -10,5 +10,5 @@ jq "$@" '[{type: "FeatureCollection", features: [.data.pois[] | { elif .iconid == "pink-dot" then "diploma" elif .iconid == "ltblue-dot" then "diploma-aspiring" else null end - ), title: .title, location: .address} + ), title: (.title | @html), location: (.address | @html)} }]}]' -- cgit v1.2.3