Fix UI for None attributes
This commit is contained in:
@@ -273,6 +273,9 @@ def _update_inline_imgs(content):
|
|||||||
|
|
||||||
|
|
||||||
def _clean_html(html: str, note: Object) -> str:
|
def _clean_html(html: str, note: Object) -> str:
|
||||||
|
if html is None:
|
||||||
|
logger.error(f"{html=} for {note.ap_id}/{note.ap_object}")
|
||||||
|
return ""
|
||||||
try:
|
try:
|
||||||
return _emojify(
|
return _emojify(
|
||||||
_replace_custom_emojis(
|
_replace_custom_emojis(
|
||||||
|
Reference in New Issue
Block a user