mirror of https://gitlab.com/bashrc2/epicyon
Remove html from header
parent
1ca714a918
commit
ee9cfc0677
|
@ -446,8 +446,8 @@ def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,
|
||||||
' <b>' + occupation_name + '</b><br>\n'
|
' <b>' + occupation_name + '</b><br>\n'
|
||||||
|
|
||||||
html_str += \
|
html_str += \
|
||||||
' <div class="headerwithimg">\n' + \
|
' <h1>' + remove_html(display_name) + '\n</h1>\n' + \
|
||||||
' ' + display_name + '\n</div>\n' + occupation_str
|
occupation_str
|
||||||
|
|
||||||
html_str += \
|
html_str += \
|
||||||
' <p><b>@' + nickname + '@' + domain_full + '</b><br>\n'
|
' <p><b>@' + nickname + '@' + domain_full + '</b><br>\n'
|
||||||
|
@ -551,9 +551,9 @@ def _get_profile_header_after_search(nickname: str, default_timeline: str,
|
||||||
if not display_name:
|
if not display_name:
|
||||||
display_name = search_nickname
|
display_name = search_nickname
|
||||||
html_str += \
|
html_str += \
|
||||||
' <div class="headerwithimg">\n' + \
|
' <h1>\n' + \
|
||||||
' ' + display_name + '\n' + \
|
' ' + remove_html(display_name) + '\n' + \
|
||||||
' </div>\n' + \
|
' </h1>\n' + \
|
||||||
' <p><b>@' + search_nickname + '@' + search_domain_full + \
|
' <p><b>@' + search_nickname + '@' + search_domain_full + \
|
||||||
'</b><br>\n'
|
'</b><br>\n'
|
||||||
if joined_date:
|
if joined_date:
|
||||||
|
|
Loading…
Reference in New Issue