Ticket #5639 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

Line endings not displayed correctly during preview

Reported by: rjollos Assigned to: rjollos
Priority: normal Component: TicketChangePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I'm assuming that this applies to the EmailProcessorMacro, though it only happens while editing a comment using the TicketChangePlugin, so perhaps that component is at fault. See attached screen captures. The line endings are not displayed correctly during the ticket preview.

Attachments

EmailProcessorMacroComment.png (19.7 kB) - added by rjollos on 08/08/09 02:00:06.
EmailProcessorMacroCommentPreview.png (109.0 kB) - added by rjollos on 08/08/09 02:00:18.

Change History

08/08/09 02:00:06 changed by rjollos

  • attachment EmailProcessorMacroComment.png added.

08/08/09 02:00:18 changed by rjollos

  • attachment EmailProcessorMacroCommentPreview.png added.

08/08/09 02:01:32 changed by rjollos

The first image in my description shows the ticket change after it is submitted. The second image shows the ticket change during a preview.

(follow-up: ↓ 3 ) 08/08/09 02:03:28 changed by rjollos

  • owner changed from pacopablo to SergeiLuchko.
  • component changed from EmailProcessorMacro to TicketChangePlugin.

I noticed that the preview is only showing the changed portion of the ticket, and since I don't see the issue when previewing a new comment, I think the problem most likely lies with the TicketChangePlugin. So, I'm moving this ticket over to that component.

(in reply to: ↑ 2 ) 08/08/09 02:06:19 changed by rjollos

Replying to rjollos:

I noticed that the preview is only showing the changed portion of the ticket

Never mind, this is not true.

02/15/10 03:51:07 changed by rjollos

#5683 closed as a duplicate.

12/10/10 07:57:01 changed by rjollos

  • owner changed from SergeiLuchko to rjollos.
  • status changed from new to assigned.

Plugin is using wiki_to_html, which is a pre-0.11 compatibility method. It looks like it has been superseded by format_to_html, but I don't know how to obtain the appropriate arguments for the new method (in particular, context), so I'll just fix the existing call to wiki_to_html for now.

12/10/10 07:57:39 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [9654]) Newline were not displayed correctly during preview. Fixes #5639.


Add/Change #5639 (Line endings not displayed correctly during preview)




Change Properties
Action