Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 16 years ago

#1647 closed defect (duplicate)

Suggestion: convert plain text to HTML / HTML to plain text in issue tracking

Reported by: jacob@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.8.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

A quick suggestion, I think it would be useful to convert the plain text contained in form fields to HTML when submitting / updating a trac ticket. For example, a comment entry field for a trac ticket may contain this text:

"This is my

trac ticket"

When this is displayed in the ticket summary, it will be displayed as

"This is mytrac ticket".

I suggest converting the CRLF plain text characters to html line breaks when displaying ticket summarys to make it easier to text to be read. A simple replace string method call to search for all CRLF characters with html line breaks would be all that is required when displaying the summary.

Thanks,

Jacob.

Attachments (0)

Change History (5)

comment:1 by Matthew Good, 19 years ago

Resolution: wontfix
Status: newclosed

This is intentional since some text may contain linefeeds to wrap a line, but still continue the paragraph. Use a blank line to separate paragraphs (or use the [[BR]] macro if you really need a forced break). See WikiFormatting#Paragraphs for more information.

comment:2 by jacob@…, 19 years ago

Resolution: wontfix
Status: closedreopened

I was using blank lines to separate paragraphs. To get the blank lines to show up in the ticket summary I had to use HTML line breaks. I think the problem may lie in custom ticket fields not accepting WikiFormatting?

comment:3 by Matthew Good, 19 years ago

Resolution: duplicate
Status: reopenedclosed

Actually there is a standard ticket "summary" field which is the title of the ticket, so calling your custom field "summary" is confusing. Support for Wiki syntax in custom fields is requested in ticket #1392.

comment:4 by anonymous, 16 years ago

Keywords: AMAN GUPTA added
Milestone: 0.12
Type: defecttask

I LOVE TO HAVE A LOT OF FUN

comment:5 by ebray, 16 years ago

Keywords: AMAN GUPTA removed
Milestone: 0.12
Type: taskdefect

Stop that.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.