Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1793 closed defect (bug) (fixed)

double quotes escaped inside pre tags

Reported by: justinsomnia's profile justinsomnia Owned by: markjaquith's profile markjaquith
Milestone: Priority: normal
Severity: normal Version: 1.5.1.2
Component: General Keywords: bg|needs-patch
Focuses: 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 (4)

#1 @markjaquith
19 years ago

  • Keywords bg|needs-patch added
  • Milestone set to 1.6
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

#2 @masquerade
19 years ago

Confirmed that this is indeed a bug.

#3 @matt
19 years ago

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

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

#4 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.