Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1793 closed defect (bug) (fixed)

double quotes escaped inside pre tags

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

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
21 years ago

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

#2 @masquerade
21 years ago

Confirmed that this is indeed a bug.

#3 @matt
21 years ago

  • Resolution → fixed
  • Status assigned → closed

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

#4 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.