WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1793 closed defect (bug) (fixed)

double quotes escaped inside pre tags

Reported by: justinsomnia Owned by: 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)

comment:1 @markjaquith9 years ago

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

comment:2 @masquerade9 years ago

Confirmed that this is indeed a bug.

comment:3 @matt9 years ago

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

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

comment:4 @anonymous8 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.