Entering a newline in a comment as "\n" via the XMLRPC plugin doesn't work 
- the comment fails to appear in the ticket (and so far as I can see there 
are no error messages in any logs anywhere).

So I tried the various other ways of entering newlines, such as "[[BR]]", 
with weird results. A two line comment with the lines separated by "[[BR]]" 
sometimes appears as two lines in the Trac browser UI, and sometimes 
appears as a single line with the text "[[BR]]" in the middle. (I didn't 
get anything noticeably different, so far as I recall, with "[[br]]" or 
"\\".)

I haven't been able to determine what decides the "sometimes", although it 
may have something to do with what string immediately precedes the 
"[[BR]]". Eventually I found that putting a space first, so " [[BR]]" 
worked insofar as that consistently gives two separate lines in the comment 
as displayed in the Trac browser UI ...

... but I now discover it sometimes (at least) gives a single line with " 
[[BR]]" in the middle in the notification email.

How, please, can I consistently and correctly

(1) add a multi-line comment to a ticket via the XMLRPC plugin
(2) so that it displays as multiple lines in the Trac browser UI
(3) and also displays as multiple lines in the notification email

?

-- 
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to