diff --git a/src/main/lemondronor/advisorycircular.cljs b/src/main/lemondronor/advisorycircular.cljs index 8f15ec1..c3a5de9 100644 --- a/src/main/lemondronor/advisorycircular.cljs +++ b/src/main/lemondronor/advisorycircular.cljs @@ -79,7 +79,7 @@ (defn parse-adsbexchange-ac-element [e] - (let [nilstr #(if (= % "") nil %) + (let [nilstr #(if (= % "") nil (string/trim %)) numstr #(if (= % "") nil (js/parseFloat %)) boolstr #(if (or (= % "1") (= (string/lower-case %) "true")) true