diff --git a/maps.py b/maps.py
index 634c14a9f..c57b7c443 100644
--- a/maps.py
+++ b/maps.py
@@ -831,16 +831,14 @@ def html_hashtag_maps(base_dir: str, tag_name: str,
period_str2 = period_str.replace('Last ', '').lower()
endpoint_str = \
'/tagmaps/' + tag_name + '-' + period_str2.replace(' ', '_')
- download_filename = \
- (tag_name + '-' +
- period_str.lower()).replace(' ', '_') + '.' + map_format
if html_str:
html_str += ' '
description = period_str
if translate.get(period_str):
description = translate[period_str]
- html_str += '' + \
+ # NOTE: don't use download="preferredfilename" which is
+ # unsupported by some browsers
+ html_str += '' + \
description + ''
if html_str:
html_str = '📌 ' + html_str
diff --git a/webapp_calendar.py b/webapp_calendar.py
index 69fb8be1d..b54e9c4b1 100644
--- a/webapp_calendar.py
+++ b/webapp_calendar.py
@@ -336,9 +336,11 @@ def _html_calendar_day(person_cache: {}, translate: {},
calendar_str += '\n\n'
# icalendar download link
+ # NOTE: don't use download="preferredfilename" which is
+ # unsupported by some browsers
calendar_str += \
' ' + \
+ 'download class="imageAnchor" tabindex="3">' + \
'\n'
@@ -657,9 +659,11 @@ def html_calendar(person_cache: {}, translate: {},
translate['Add to the calendar'] + '
' + \ show_reminders_link + '
\n\n' + # NOTE: don't use download="preferredfilename" which is + # unsupported by some browsers calendar_icon_str = \ ' ' + \ + 'download class="imageAnchor" tabindex="3">' + \ '' + # NOTE: don't use download="preferredfilename" which is + # unsupported by some browsers edit_profile_form += \ ' ' + \ + 'download>' + \ '