about summary refs log tree commit diff
path: root/kittybox-rs
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs')
-rw-r--r--kittybox-rs/templates/src/mf2.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/kittybox-rs/templates/src/mf2.rs b/kittybox-rs/templates/src/mf2.rs
index 607c983..41cd6cc 100644
--- a/kittybox-rs/templates/src/mf2.rs
+++ b/kittybox-rs/templates/src/mf2.rs
@@ -9,8 +9,9 @@ fn decode_geo_uri(uri: &str) -> String {
             let mut parts = part.split(',');
             let lat = parts.next().unwrap();
             let lon = parts.next().unwrap();
+
             // TODO - format them as proper latitude and longitude
-            return format!("{}, {}", lat, lon);
+            format!("{}, {}", lat, lon)
         } else {
             uri.to_string()
         }
@@ -59,7 +60,7 @@ markup::define! {
                             .unwrap_or_else(|| bookmarkof["properties"]["url"][0].as_str().unwrap())
                     }
                 }
-
+                " "
                 a."u-url"."u-uid"[href=post["properties"]["uid"][0].as_str().unwrap()] {
                     @if let Some(published) = post["properties"]["published"][0].as_str() {
                         time."dt-published"[datetime=published] {