Edgewall Software
Modify

Ticket #6683 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

quoting a "code block"

Reported by: r.bhatia@… Owned by: jonas
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc:
Release Notes:
API 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

Change History

comment:1 Changed 4 years ago by cboos

  • Resolution set to duplicate
  • Status changed from new to closed

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 ;-)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.