Check that tag exists

main
bashrc 2026-02-13 21:20:34 +00:00
parent bb4f2cf3f0
commit a9bbb6fb87
1 changed files with 2 additions and 0 deletions

View File

@ -500,6 +500,8 @@ def html_podcast_episode(translate: {},
tags_str = ''
for tag in podcast_properties['categories']:
tag = tag.replace('#', '')
if not tag:
continue
tag_link = '/users/' + nickname + '/tags/' + tag
tags_str += \
'#<a href="' + tag_link + '">' + \