Closed Bug 64907 Opened 24 years ago Closed 24 years ago

Q (quote) tags display wrong character when nested

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 24861

People

(Reporter: dmh, Assigned: clayton)

Details

(Keywords: html4, testcase)

Attachments

(1 file)

Q (quote) tags don't nest properly.  Here is a fragment of HTML:

<p lang="en">Ben said, <q>We went to the Sisters concert, and shouted <q>Hey, 
shorty!</q> at their diminutive lead singer.</q></p>

It should appear as:

Ben said, "We went to the Sisters concert, and shouted 'Hey, shorty!' at their 
diminutive lead singer."

Instead it appears in Mozilla as:

Ben said, "We went to the Sisters concert, and shouted "Hey, shorty!" at their 
diminutive lead singer."

Also see the HTML 4.01 spec: 
http://www.w3.org/TR/html4/struct/text.html#h-9.2.2.1
Confirming with build 2001010420 on NT4.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: html4, testcase
Pretty Sure this is a dup. Remember looking for this a few months ago .I 
haven't time now to find the exact bug number, but I'll add it later if I get a 
chance
Just a thought: the Q element could possibly be extended further to support
Unicode "smart quotes"; for example:

Opening Q tag (English):
  * &#8220; (left double quotation mark, U+201C ISOnum)
  * &#8216; (left single quotation mark, U+2018 ISOnum)

Closing Q tag (English):
  * &#8221; (right double quotation mark, U+201D ISOnum)
  * &#8217; (right single quotation mark, U+2019 ISOnum)

Opening Q tag (German):
  * &#8222; (double low-9 quotation mark, U+201E)
  * &#8218; (single low-9 quotation mark, U+201A)

... Etc.
Yes, duplicate of bug 24861.
I agree.

*** This bug has been marked as a duplicate of 24861 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Yup, verified duplicate.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: