WordPress.org

Ready to get started?Download WordPress

Forums

Support simple quotes (8 posts)

  1. VxJasonxV
    Member
    Posted 8 years ago #

    WordPress supports blockquote, but it needs to support q (what I call: quick quote, or, short quote).

    Per the w3c standards, the difference is essentially:
    q is for quoting in line.
    When I asked Peter what he had to say, all he responded with was <q>I have nothing</q>.

    Versus quoting, well, a paragraph or more.
    I asked Peter his thoughts on the matter, he stated:
    <blockquote cite="Peter">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec nonummy. Fusce et nibh. Mauris dignissim vestibulum nulla. Suspendisse risus. Praesent tempor pulvinar enim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Proin ut tellus. Maecenas bibendum. Ut a eros. Maecenas ornare iaculis nulla. Cras cursus porttitor erat. Curabitur a urna id nibh pulvinar commodo. Morbi justo nibh, elementum in, sagittis at, molestie quis, leo. Curabitur laoreet felis sit amet urna. Praesent et purus.</blockquote>

    [edit]
    For the curious, here's the recommendation verbatim from w3 (blockquoted, lol):
    From http://www.w3.org/TR/html401/struct/text.html#edef-Q

    These two elements designate quoted text. BLOCKQUOTE is for long quotations (block-level content) and Q is intended for short quotations (inline content) that don't require paragraph breaks.

  2. This looks relevant:

    http://diveintomark.org/archives/2002/05/04/the_q_tag

    It's not that WP needs to support it, so much as IE needs to support it..

  3. VxJasonxV
    Member
    Posted 8 years ago #

    No... it uhhh, is a wordpress problem.
    The rendering is one thing, but WordPress trimming the tag out entirely is completely another.

    See a comment of mine.

    The second paragraph should be:
    OTOH:
    <q>This was not done for any reason other than I am that person. You’re dealing with the real deal.</q>
    What a [...] human being.

    But it's not. Check the source :-).

    [edit]
    After looking it up and checking out the kses file, it appear support does exist! ...but it's commented out.

    So my suggestion:
    Please uncomment line 38 ( 'q' => array(), ) in kses.php in default installations!

  4. Sorry, but I'll have to disagree with you here. I mean, the #1 browser doesn't even support it and <blockquote> does the job just perfectly fine while still maintaing valid code. Sure, I guess technically <q> should be used in some cases, but is it really a big deal?

    Not to mention that these are just comments we're talking about. How complex of code do you need? Not to mention most people won't know what it's for. Hell, I didn't even know what <q> was and I've been around the block quite a few times.

    If you want to allow it on your blog, by all means, but to have it enabled by default? No.

  5. VxJasonxV
    Member
    Posted 8 years ago #

    This is <q>the reason</q> why I want q.

    [edit]
    1) By the way, this post text was:
    This is <q>the reason</q> why I want q and it was transformed to blockquote, and looks unnecessarily ugly (spaced).
    2) By the way, HI IE7, I sure appreciate all the standards upgrades you'll have.

    [edit2]
    And now that I tried editing it... it transforms the character to an html entity, thanks bbP.

  6. True, true, inline quoting is nice, but again, is it really the end of the world? I mean if <q>, then what next? Gotta draw the line somewhere and I don't really consider <q> a basic HTML tag.

  7. VxJasonxV
    Member
    Posted 8 years ago #

    Viper,

    I encourage you to read http://www.w3.org/TR/html401/struct/text.html#edef-Q

    Remember that in this context, we're talking about the ability to quote, in a comment, on a weblog.

    No it's not the end of the world, but it would be really nice to have...

  8. quiescere
    Member
    Posted 8 years ago #

    Perhaps you don't consider it a basic HTML tag, but W3C has done so in both CSS2 since 1998 and HTML since 1997. Usage has lagged because Microsoft quit updating standards support for IE in 1998. Personally, I'm glad at least Firefox is finally behaving fairly well, as are (I think) Opera and many special needs browsers. I really hate having to go back and redesign a page because Microsoft hasn't bothered to enforce standards compliance in 8 years. For those of you keeping count at home, that's half the time the web has been in existence. The Q tag/property is only one example. There's a lot of really powerful stuff available that vastly simplifies things, which is impractical for general use because 90% or whatever percentage of web users is still using an abandoned browser.

    EDIT: O, and for what it's worth, the q tag is working like a charm on WordPress 2.0.1 viewed via Firefox, as near as I can tell.

Topic Closed

This topic has been closed to new replies.

About this Topic