Edgewall Software
Modify

Opened 8 years ago

Closed 8 years ago

#12801 closed defect (fixed)

Newline in textarea field with plain format should be line break

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Milestone: 1.0.14
Component: ticket system Version: 1.0.13
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Textarea fields with plain format preserve newlines in ticket and query views.

API Changes:
Internal Changes:

Description

If newlines is entered in textarea field with plain format, the newlines are not line breaks in ticket and query view. No differences between text and textarea field with plain format in this behavior.

I think the newlines in textarea field with plain format should be line breaks in view.

[ticket-custom]
info = textarea
info.rows = 3
info.cols = 60

Attachments (4)

ticket-form.png (3.0 KB ) - added by Jun Omae 8 years ago.
ticket.png (6.9 KB ) - added by Jun Omae 8 years ago.
query.png (3.2 KB ) - added by Jun Omae 8 years ago.
query-incorrect-wiki-formatting.png (2.9 KB ) - added by Jun Omae 8 years ago.

Download all attachments as: .zip

Change History (9)

by Jun Omae, 8 years ago

Attachment: ticket-form.png added

by Jun Omae, 8 years ago

Attachment: ticket.png added

by Jun Omae, 8 years ago

Attachment: query.png added

by Jun Omae, 8 years ago

comment:1 by Jun Omae, 8 years ago

I noticed textarea field with plain format incorrectly is formatted as wiki text in query view.

comment:2 by Jun Omae, 8 years ago

Owner: set to Jun Omae
Status: newassigned

Proposed changes for 1.0-stable in [c298fcc97/jomae.git] (jomae.git@t12801+1.0). I'll post proposed changes for 1.2-stable and trunk.

comment:4 by Ryan J Ollos, 8 years ago

Changes look good to me.

comment:5 by Jun Omae, 8 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Thanks for the reviewing.

Committed those changes with fix for a test failure on Windows in [15891], and merged in [15892-15893].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.