{% match body -%} {%- when PartBody::Empty -%} {%- when PartBody::TextBubble { bubble_class, html } -%}{{ html|safe }} {% when PartBody::TextTranslated { translated, original } -%}{{ translated|safe }}
{{ original|safe }}
{% when PartBody::TextEdited { html } -%}
{{ html|safe }}
{% when PartBody::Attachment { html } -%}
{{ html|safe }}
{% when PartBody::AttachmentError { error } -%}Unable to locate attachment: {{ error|safe }} {% when PartBody::AttachmentMissing -%}Attachment does not exist! {% when PartBody::Sticker { html } -%}
{{ html|safe }}
{% when PartBody::InlineBubble { bubble_class, segments } -%}{% for seg in segments %}{% match seg %}{% when InlineSegment::Text(h) %}{{ h|safe }}{% when InlineSegment::Sticker(h) %}{{ h|safe }}{% endmatch %}{% endfor %} {% when PartBody::App { html } -%}
{{ html|safe }}
{% when PartBody::AppError { html } -%}
{{ html|safe }}
{% when PartBody::Retracted { html } -%}{{ html|safe }} {% endmatch -%}
{% if let Some(expressive) = expressive %}{{ expressive }} {% endif %}{% if let Some(tapbacks) = tapbacks %}{{ tapbacks|safe }}{% endif %}{% if let Some(replies) = replies %}{{ replies|safe }}{% endif %}