diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-09-09 04:00:48 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-09-09 04:00:48 +0200 |
commit | 8bd96fa13873179cf7e1e5a461d2e1a3a670be48 (patch) | |
tree | fb9513d6e94fe651053bea7f2a9a1acf848c5e04 | |
parent | feaec4c31fce93ba4af9b63246ad6ab18f166b2b (diff) |
Fix html-escape data strings.
-rwxr-xr-x | poi2geojson | 2 |
1 files changed, 1 insertions, 1 deletions
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)} }]}]' |