Ticket #188 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

escapes double quotes

Reported by: anonymous Assigned to: athomas
Priority: high Component: AddCommentMacro
Severity: normal Keywords:
Cc: samm@scl.ameslab.gov Trac Release: 0.9

Description

double quotes in the comment show up as html entity "

Attachments

quotefix.diff (1.3 kB) - added by samm@scl.ameslab.gov on 04/09/06 19:10:51.

Change History

04/08/06 16:48:57 changed by anonymous

  • cc set to samm@scl.ameslab.gov.
  • 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"

04/09/06 19:10:51 changed by samm@scl.ameslab.gov

  • attachment quotefix.diff added.

04/09/06 19:12:02 changed by samm@scl.ameslab.gov

  • 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.

04/09/06 22:51:51 changed by athomas

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #188 (escapes double quotes)




Change Properties
Action