Make WordPress Core

Opened 21 years ago

Closed 20 years ago

#1533 closed defect (bug) (worksforme)

Wordpress deals incorrectly with the q tag with regard to subquotes

Reported by: Christiaan Owned by:
Priority: low Milestone:
Component: Administration Version: 2.0
Severity: minor Keywords: subquote quote quotemarks <q> tag
Cc: Focuses:

Description

When using the <q> element for quotemarks there is a problem doing subquotes, "as in 'this is a' subquote."

Typically a subquote would be done like this:
<q>as in <q>this is a</q> subquote.</q>

But Wordpress, presumably wanting to close what it thinks are open tags, saves it like this:
<q>as in </q><q>this is</q> a subquote.

So you end up with this:
"as in ""this is" a subquote.

Instead of this:
"as in 'this is a' subquote."

Change History (7)

#1 @Christiaan
21 years ago

  • Version 1.5.1.2 → 1.5.2

#2 @Christiaan
21 years ago

The problem also exists for <blockquote>

#3 @Christiaan
21 years ago

  • Version 1.5.2 → 2.0

Updated version to 2.0 - problem still exists.

#4 @davidhouse
21 years ago

  • Priority normal → low
  • Severity normal → minor

#5 @Christiaan
20 years ago

  • Version 2.0 → 2.1

Updated to 2.1

#6 @foolswisdom
20 years ago

  • Milestone → 2.2
  • Version 2.1 → 2.0

#7 @rob1n
20 years ago

  • Milestone 2.2
  • Resolution → worksforme
  • Status new → closed

Tested in r4914, and the nested <q>'s work fine.

Note: See TracTickets for help on using tickets.