Edgewall Software

Opened 10 years ago

Last modified 7 months ago

#11530 new enhancement

Ticket default_description cannot include new lines — at Initial Version

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: next-stable-1.6.x
Component: ticket system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Two issues were discussed on the mailing list:

  1. It should be documented that lines need to be preceded by whitespace to have a multi-line ticket description. For example,
    [ticket]
    default_description = line1 
     line2
     line3
     line4
    
    This would be applicable to any textarea. Description is currently the only one in [ticket] section (TracIni#ticket-section), but we may also need to consider the value parameter of textarea custom fields (TracTicketsCustomFields#AvailableFieldTypesandOptions).
  1. ConfigParser in Python 2.x does not appear to support empty lines. The empty lines are stripped out. We'll need a workaround such as specifying empty lines with a single \ character, and then stripping out the characters from the empty lines before rendering the ticket description.

Change History (0)

Note: See TracTickets for help on using tickets.