Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 10 months ago

#6683 closed defect (duplicate)

quoting a "code block"

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

Description

when replying to a ticket comment which includes a "code block" as

He is talking about 
{{{
somecode
}}}
which is wrong.

trac renders:

Replying to [comment:x nick]:
> He is talking about 
> {{{
> somecode
> }}}
> which is wrong.

to correctly reply to such a codeblock, one needs to edit the quoted text to match

Replying to [comment:x nick]:
> He is talking about 
{{{
somecode
}}}
> which is wrong.

which renders to:


Replying to nick:

He is talking about

somecode

which is wrong.


i experienced it with this very version of trac, at the time of filing this bug report :)

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 13 years ago

Resolution: duplicate
Status: newclosed

Special case of #4235, but one situation which should definitely be supported.

OTOH, the current rendering of:

Replying to [comment:x nick]:
> He is talking about 
{{{
somecode
}}}
> which is wrong.

which is used as a workaround, is actually buggy ;-)

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.