Modify

Opened 16 years ago

Closed 12 years ago

#3925 closed defect (fixed)

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

Reported by: redboltz Owned by: Ryan J Ollos
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 Ryan J Ollos 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by Robert

Cc: Milan added; anonymous removed
Summary: Cannot use '<' and '>' characters in comment.Cannot use '&lt;' and '&gt;' characters in comment.

comment:2 Changed 13 years ago by Marc

Owner: changed from mikechml to Marc

Changed 12 years ago by Ryan J Ollos

Attachment: UsingLtAndGt.png added

comment:3 Changed 12 years ago by Ryan J Ollos

Owner: changed from Marc to Ryan J Ollos

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 12 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.