mirror of https://gitlab.com/bashrc2/epicyon
Remove html earlier
parent
8c9ca2371f
commit
6e4c5368bb
|
|
@ -42,7 +42,7 @@ def get_matrix_address(actor_json: {}) -> str:
|
||||||
continue
|
continue
|
||||||
if not property_value['type'].endswith('PropertyValue'):
|
if not property_value['type'].endswith('PropertyValue'):
|
||||||
continue
|
continue
|
||||||
address_text = property_value[prop_value_name]
|
address_text = remove_html(property_value[prop_value_name])
|
||||||
if 'xmpp' in address_text.lower():
|
if 'xmpp' in address_text.lower():
|
||||||
continue
|
continue
|
||||||
if 'jabber' in address_text.lower():
|
if 'jabber' in address_text.lower():
|
||||||
|
|
@ -63,7 +63,7 @@ def get_matrix_address(actor_json: {}) -> str:
|
||||||
continue
|
continue
|
||||||
if '"' in address_text:
|
if '"' in address_text:
|
||||||
continue
|
continue
|
||||||
return remove_html(address_text)
|
return address_text
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue