From 8b4873dc01e004da9a52f2773a2fc0ca7fa3e7ea Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 26 Apr 2025 14:15:51 +0100 Subject: [PATCH] Address prefix --- webapp_post.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp_post.py b/webapp_post.py index 89ef5b8e3..318ed3b8a 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -3236,6 +3236,11 @@ def individual_post_as_html(signing_priv_key_pem: str, map_latitude, map_longitude, map_zoom) if not map_str and location_str: + if '
' in location_str: + address_prefix = \ + '
' + translate['Address'] + ':
' + location_str = \ + location_str.replace('
', address_prefix) map_str = '

' + translate['Location'] + ': ' + \ location_str + '

\n'