mirror of https://gitlab.com/bashrc2/epicyon
Check for repetition
parent
a754b945ab
commit
d4ca17ec18
|
@ -1552,6 +1552,7 @@ def _get_post_title_announce_html(base_dir: str,
|
|||
title_str += mitm_warning_html(translate)
|
||||
|
||||
if software_name:
|
||||
if '[' + software_name + ']' not in title_str:
|
||||
title_str += \
|
||||
'<br><label class="instanceSoftware">' + \
|
||||
'<span itemprop="software">[' + \
|
||||
|
@ -1640,6 +1641,7 @@ def _reply_to_unknown_html(translate: {},
|
|||
'" class="announceOrReply" tabindex="10">@unknown</a>\n'
|
||||
|
||||
if software_name:
|
||||
if '[' + software_name + ']' not in title_str:
|
||||
title_str += \
|
||||
'<br><label class="instanceSoftware">' + \
|
||||
'<span itemprop="software">[' + \
|
||||
|
@ -1676,6 +1678,7 @@ def _reply_with_unknown_path_html(translate: {},
|
|||
post_domain + mitm_str + '</a>\n'
|
||||
|
||||
if software_name:
|
||||
if '[' + software_name + ']' not in title_str:
|
||||
title_str += \
|
||||
'<br><label class="instanceSoftware">' + \
|
||||
'<span itemprop="software">[' + \
|
||||
|
@ -1709,6 +1712,7 @@ def _get_reply_html(translate: {},
|
|||
reply_display_name + '</span></a>\n'
|
||||
|
||||
if software_name:
|
||||
if '[' + software_name + ']' not in title_str:
|
||||
title_str += \
|
||||
'<br><label class="instanceSoftware">' + \
|
||||
'<span itemprop="software">[' + \
|
||||
|
@ -1870,6 +1874,7 @@ def _get_post_title_reply_html(base_dir: str,
|
|||
title_str += mitm_warning_html(translate)
|
||||
|
||||
if software_name:
|
||||
if '[' + software_name + ']' not in title_str:
|
||||
title_str += \
|
||||
'<br><label class="instanceSoftware">' + \
|
||||
'<span itemprop="software">[' + \
|
||||
|
|
Loading…
Reference in New Issue