Modify

Opened 11 years ago

Closed 11 years ago

#188 closed defect (fixed)

escapes double quotes

Reported by: anonymous Owned by: Alec Thomas
Priority: high Component: AddCommentMacro
Severity: normal Keywords:
Cc: samm@… Trac Release: 0.9

Description

double quotes in the comment show up as html entity "

Attachments (1)

quotefix.diff (1.3 KB) - added by samm@… 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by anonymous

Cc: samm@… added; anonymous removed
Trac Release: 0.8

This is an annoying bug, would it be possible to achieve the same functionality that this ticket comment field has in the AddComment macro? They appear to support quotes just fine:

<Test>
"Test"

Changed 11 years ago by samm@…

Attachment: quotefix.diff added

comment:2 Changed 11 years ago by samm@…

Trac Release: 0.80.9

I added a patch to fix the quoting issue. It uses the xml.sax.saxutils.unescape method.

comment:3 Changed 11 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [635]) * Unescape comment body, fixes #188

Modify Ticket

Action
as closed The owner will remain Alec Thomas.
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.