Modify

Opened 6 years ago

Closed 2 years ago

#3925 closed defect (fixed)

Cannot use '<' and '>' characters in comment.

Reported by: redboltz Owned by: rjollos
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: Milan Trac Release: 0.11

Description

When I add comment include '<' or '>' character, Comment doesn't appear correctly.

Maybe this plugin doesn't escape HTML tags.

If I change '<' to '&lt;' and change '>' to '&gt', Comment appear correctly.

I think that we often want to use such characters in comments.

For example

#include <somefile>
template <class T>

I think this plugin should automatically convert HTML-tag characters to escape sequences.

Attachments (1)

UsingLtAndGt.png (29.7 KB) - added by rjollos 2 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by Robert

  • Cc Milan added
  • Summary changed from Cannot use '<' and '>' characters in comment. to Cannot use '&lt;' and '&gt;' characters in comment.

comment:2 Changed 3 years ago by andersm

  • Owner changed from mikechml to andersm

Changed 2 years ago by rjollos

comment:3 Changed 2 years ago by rjollos

  • Owner changed from andersm to rjollos

This seems to be working fine on the trunk now. I'll be checking in numerous fixes over the next day, but I think this issue is already resolved. Please reopen if you don't have success with the latest trunk version.


comment:4 Changed 2 years ago by rjollos

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.