agenda-libre-ruby/app/views/note_mailer/notify.text.haml
echarp d574b1624a Url sent in mails are now enclosed in angled brackets,
as recommended in RFC 3986 section C (ftp://ftp.rfc-editor.org/in-notes/rfc3986.txt)

Close #77
2016-10-18 23:28:18 +02:00

13 lines
346 B
Plaintext

= t '.body', subject: @note.event.title, contents: @note.contents
\
= sanitize @note.contents.html_safe,
tags: %w(p br table tr td ul ol li a strong b em i img),
attributes: %w(href src width height)
\
= t '.edit_link'
\
= surround '<'.html_safe, '>'.html_safe do
= edit_event_url @note.event, secret: @note.event.secret
\
= t '.signature'