WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 7 years ago

#1533 closed defect (bug) (worksforme)

Wordpress deals incorrectly with the q tag with regard to subquotes

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

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)

comment:1 Christiaan9 years ago

  • Version changed from 1.5.1.2 to 1.5.2

comment:2 Christiaan9 years ago

The problem also exists for <blockquote>

comment:3 Christiaan8 years ago

  • Version changed from 1.5.2 to 2.0

Updated version to 2.0 - problem still exists.

comment:4 davidhouse8 years ago

  • Priority changed from normal to low
  • Severity changed from normal to minor

comment:5 Christiaan7 years ago

  • Version changed from 2.0 to 2.1

Updated to 2.1

comment:6 foolswisdom7 years ago

  • Milestone set to 2.2
  • Version changed from 2.1 to 2.0

comment:7 rob1n7 years ago

  • Milestone 2.2 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.