#1647 closed defect (duplicate)
Suggestion: convert plain text to HTML / HTML to plain text in issue tracking
Reported by: | 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 , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
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 , 19 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
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 , 16 years ago
Keywords: | AMAN GUPTA added |
---|---|
Milestone: | → 0.12 |
Type: | defect → task |
I LOVE TO HAVE A LOT OF FUN
comment:5 by , 16 years ago
Keywords: | AMAN GUPTA removed |
---|---|
Milestone: | 0.12 |
Type: | task → defect |
Stop that.
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.