Ticket #1793 (closed defect: fixed)

Opened 3 years ago

Last modified 1 year ago

double quotes escaped inside pre tags

Reported by: justinsomnia Assigned to: markjaquith
Priority: normal Milestone:
Component: General Version: 1.5.1.2
Severity: normal Keywords: bg|needs-patch
Cc:

Description

When you put a double quote (") inside a <pre> tag, it's published in an escaped fashion: (\")

Testcase:

<pre>
"hello"
</pre>

Renders as:

\"hello\"

Should be:

"hello"

The workaround involves encoding double quotes as &quot;

Change History

11/03/05 22:41:38 changed by markjaquith

  • keywords set to bg|needs-patch.
  • owner changed from anonymous to markjaquith.
  • status changed from new to assigned.
  • milestone set to 1.6.

11/05/05 19:30:16 changed by masquerade

Confirmed that this is indeed a bug.

11/11/05 02:16:27 changed by matt

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

(In [3049]) Missing stripslashes - fixes #1793

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted