"[event]" syntax reproduced in ActivityPub federated posts

[event] syntax is reproduced verbatim in ActivityPub federated posts, and it looks really bad.

Ideally, the basic event data would be displayed. If not, then al the content between the brackets should be removed.

See an example:

turns into