Modify

Opened 9 years ago

Closed 8 years ago

#188 closed defect (fixed)

escapes double quotes

Reported by: anonymous Owned by: athomas
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@… 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by anonymous

  • Cc samm@… added
  • Trac Release set to 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 8 years ago by samm@…

comment:2 Changed 8 years ago by samm@…

  • Trac Release changed from 0.8 to 0.9

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

comment:3 Changed 8 years ago by athomas

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

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

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.