Hi Ethan, Thanks, that works :-)
Cheers - Geert On Thursday, 31 January 2013 02:46:18 UTC+13, Ethan Jucovy wrote: > > Hi Geert, > > On Tue, Jan 22, 2013 at 2:25 PM, Geert > <[email protected]<javascript:> > > wrote: > >> Hi Ethan, >> >> I deployed your plugin on Trac 1.0 & python 2.7. It worked without a >> problem, thanks. >> >> One question though, how do I add blank lines to the body of my >> notification emails? If I just add a blank line then they don't show up in >> the email. > > > You can add blank lines by typing "\n" in your email template. The > plugin's code will parse these "\n" strings into actual newline characters. > So, for example, a configuration like > > notice.body = Notification for ticket $ticket.id: $link\n\n\n\nThis > is a notification. > > should result in an email body with four blank lines between the two > sentences. > > This seems to work more reliably than using the .ini file's own multi-line > syntax which apparently collapses whitespace. > > I've added this information into the plugin's wiki documentation. > > Let me know if this doesn't work for you. > > -Ethan > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
