Opened 10 years ago
Last modified 7 months ago
#11530 new enhancement
Ticket default_description cannot include new lines — at Version 1
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 (last modified by )
Two issues were discussed on the mailing list:
- It should be documented that lines 2:end need to be indented with whitespace to have a multi-line ticket description. For example,
This would be applicable to any
[ticket] default_description = line1 line2 line3 line4
textarea
. Description is currently the only one in[ticket]
section (TracIni#ticket-section), but we may also need to consider thevalue
parameter oftextarea
custom fields (TracTicketsCustomFields#AvailableFieldTypesandOptions).
- Empty lines can't be included in the
[ticket] default_description
becauseConfigParser
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 character before rendering an empty line in the ticket description.
Change History (2)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
by , 10 years ago
Attachment: | 20140312T032218.png added |
---|
Note:
See TracTickets
for help on using tickets.