RE: [Trac] Newlines in comments?

2017-09-04 Thread Tim Ward
sers@googlegroups.com] On Behalf Of Jun Omae Sent: 01 September 2017 17:16 To: trac-users@googlegroups.com Subject: Re: [Trac] Newlines in comments? On Wed, Aug 30, 2017 at 5:09 PM, Tim Ward <t...@brettward.co.uk> wrote: > data = '{{ "params": [ {}, "{}", {{ &q

Re: [Trac] Newlines in comments?

2017-09-01 Thread Tim Ward
Ah. Thanks. I'll give that a try next week. It won't of course explain why "[[BR]]" is unreliable even when entered from the browser, so it sounds like I could have come across more than just one problem. On 01/09/2017 17:15, Jun Omae wrote: On Wed, Aug 30, 2017 at 5:09 PM, Tim Ward

Re: [Trac] Newlines in comments?

2017-09-01 Thread Jun Omae
On Wed, Aug 30, 2017 at 5:09 PM, Tim Ward wrote: > data = '{{ "params": [ {}, "{}", {{ "action": "leave" }}, true ], > "method": "ticket.update" }}' > > r = requests.post( url, data=data.format( ticketId, comment ), > headers=headers, auth=auth ) > > (Python) - how

Re: [Trac] Newlines in comments?

2017-08-30 Thread Tim Ward
Whether I use that library or not the data is going to be sent over the same HTTP interface so why would it matter which layers of libraries I use at the client side? On 30/08/2017 19:09, RjOllos wrote: On Wednesday, August 30, 2017 at 1:09:53 AM UTC-7, Tim Ward wrote:     data = '{{

Re: [Trac] Newlines in comments?

2017-08-30 Thread RjOllos
On Wednesday, August 30, 2017 at 1:09:53 AM UTC-7, Tim Ward wrote: > > data = '{{ "params": [ {}, "{}", {{ "action": "leave" }}, true ], > "method": "ticket.update" }}' > > r = requests.post( url, data=data.format( ticketId, comment ), > headers=headers, auth=auth ) > > (Python) - how

Re: [Trac] Newlines in comments?

2017-08-30 Thread Ryan Ollos
On Tue, Aug 29, 2017 at 8:19 AM, Tim Ward wrote: > 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

[Trac] Newlines in comments?

2017-08-29 Thread Tim Ward
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