mirror of https://gitlab.com/bashrc2/epicyon
Handle situations where no actor summary exists
parent
13c6c69b0f
commit
4d38cce27b
|
@ -472,8 +472,9 @@ def html_new_post(edit_post_params: {},
|
||||||
attrib_url,
|
attrib_url,
|
||||||
person_cache)
|
person_cache)
|
||||||
if reply_to_actor:
|
if reply_to_actor:
|
||||||
summary = \
|
summary = None
|
||||||
reply_to_actor['summary']
|
if reply_to_actor.get('summary'):
|
||||||
|
summary = reply_to_actor['summary']
|
||||||
if summary:
|
if summary:
|
||||||
if not dangerous_markup(summary,
|
if not dangerous_markup(summary,
|
||||||
False, []):
|
False, []):
|
||||||
|
|
Loading…
Reference in New Issue