##// END OF EJS Templates
core: use py3 compatible prints
core: use py3 compatible prints

File last commit:

r1728:49fb0cec default
r3057:26663955 default
Show More
test.mako
20 lines | 425 B | application/x-mako | MakoHtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
emails: fixed newlines in email templates that can break email sending code.
r1728 <%def name="subject()" filter="n,trim,whitespace_filter">
project: added all source files and assets
r1 Test "Subject" ${_('hello "world"')|n}
</%def>
<%def name="headers()" filter="n,trim">
X=Y
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Email Plaintext Body
</%def>
## BODY GOES BELOW
<b>Email Body</b>
${h.short_id('0' * 40)}
${_('Translation')}