Edgewall Software

Opened 7 years ago

Closed 7 years ago

#12801 closed defect (fixed)

Newline in textarea field with plain format should be line break — at Version 5

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

Change History (9)

by Jun Omae, 7 years ago

Attachment: ticket-form.png added

by Jun Omae, 7 years ago

Attachment: ticket.png added

by Jun Omae, 7 years ago

Attachment: query.png added

by Jun Omae, 7 years ago

comment:1 by Jun Omae, 7 years ago

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

comment:2 by Jun Omae, 7 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, 7 years ago

Changes look good to me.

comment:5 by Jun Omae, 7 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].

Note: See TracTickets for help on using tickets.