{{ note.getRendered() | raw }}
{% if hide_attachments is not defined %}
{% endif %}
{% if note.getLinks() is not empty %}
{% for link in note.getLinks() %}
{% for block in handle_event('ViewLink', {'link': link, 'note': note}) %}
{{ block | raw }}
{% endfor %}
{% endfor %}
{% endif %}