WordPress.org

Ready to get started?Download WordPress

Forums

Blockquote and validation problem (21 posts)

  1. Lynne_ydw_i
    Member
    Posted 9 years ago #

    Can someone please tell me why the blockquote is screwing up my validation. I can't figure it out and my eyes are getting cross eyed while going over and over the css.

    http://cariadsrealm.net/journal

    Thanks.

    Lynne

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    When you use the

    <blockquote> tag like this, so it looks like it sort of will</blockquote>

    it really upsets stuff.

    Better to <blockquote> use it like this which looks odd when you do it but means </blockquote> that it validates.

    Odd but true :)

  3. Lynne_ydw_i
    Member
    Posted 9 years ago #

    Nope, it's still not validating even putting everything on the same line. I don't understand.

  4. BubsatSchool
    Member
    Posted 9 years ago #

    Hmm, I've tried to understand why WP automatically adds the <p></p> when you use <blockquote>. Still, I don't understand why this would cause a validation error.

    According to your validation results, you have some <blockquote>s that aren't properly closed.

  5. NuclearMoose
    Member
    Posted 9 years ago #

    Edit: Deleted as actual solution was found by someone else.

  6. BubsatSchool
    Member
    Posted 9 years ago #

    Nuclear -- what is the purpose of the added <p>'s after the <blockquote>'s? I'm just curious.

  7. NuclearMoose
    Member
    Posted 9 years ago #

    BubsatSchool,

    I wish I had an answer for you. One of the coders will have to answer this question. I just accepted it as part of the inner workings of WordPress and designed around it.

    I could guess, but I would just be wasting your time by doing so.

  8. Lynne_ydw_i
    Member
    Posted 9 years ago #

    I just added the space as suggested by podz, or that's what I read from his post. I've taken the space out and it's still not validating.

    BubsatSchool, the blockquotes are properly closed, whcih makes the error even stranger.

  9. Lynne_ydw_i
    Member
    Posted 9 years ago #

    I understand it's probably an error on my part someplace perhaps in the css, but I can't figure out what it is.

  10. NuclearMoose
    Member
    Posted 9 years ago #

    Lynne did you address the issue I found?

  11. NuclearMoose
    Member
    Posted 9 years ago #

    Edit: Actual solution found by someone else.

  12. BubsatSchool
    Member
    Posted 9 years ago #

    Are the <p>'s AROUND the <blockquote>'s or INSIDE the <blockquote>'s?

    ie:

    <p><blockquote>text</blockquote></p>

    OR

    <blockquote><p>text</p></blockquote>

  13. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    When editing your post:

    Bad:
    outside <blockquote>inside</blockquote> outside

    It outputs
    <p>outside<br />
    <blockquote>inside</blockquote>
    outside
    </p>

    Good:
    outside
    <blockquote>inside</blockquote>
    outside

    It outputs
    <p>outside</p>
    <blockquote><p>inside</p></blockquote>
    <p>outside
    </p>

    And you cant have blockquotes inside ps. So put your blockquotes on new lines and everything should work out.

  14. NuclearMoose
    Member
    Posted 9 years ago #

    So, Lynne, I guess it wasn't the fault of WordPress after all! :0)

  15. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    Well... you can always argue WordPress should be smarter. :)

  16. Lynne_ydw_i
    Member
    Posted 9 years ago #

    Pardon my ignorance, be patient.

    I'm not doing anything differently on this journal than I do on my other journal, and it's validating there using blockquote the smae way.

    http://stpaulschool.net/bulletin/index.php

  17. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    Are you running any plugins that modify post content on your other journal?

  18. Lynne_ydw_i
    Member
    Posted 9 years ago #

    I have very few plugins on that journal. You think that could be it?

    I'm turning in for the evening, work in the morning. I'll check back then.

    Thanks for all the help so far.

  19. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    I have no idea. Textile and Markdown both do some serious modification to your post content, but both have their own, proprietary bloquote tags. But, anyway, it doesn't sound like you're using them.

    You could try disabling each plugin in turn to figure it out. It'd be nice to know what the actual difference is. Or... you could just switch to putting your blockquotes on new lines :)

  20. Lynne_ydw_i
    Member
    Posted 9 years ago #

    blockquote is on a new line :)

    Not knowing exactly what it did, and prone to clicking things just to see what they do, I activated textile about 3 weeks ago. Perhaps that's what has screwed everything up.

    I've deactivated it, and now I'm left with a bunch of other errors, but I'll work through them one by one.

    If I've learned one things from validating sites in the past, it's one error can cause many more. Hopefully I'll stumble on it quickly

    Thanks for all the help, and when I've finished correcting the other errors, if blockquote still won't validate, I'll come back and cry some more.

  21. Lynne_ydw_i
    Member
    Posted 9 years ago #

    It's all fixed and validating

    The textile appeared to be screwing up the blockquote. Once that was deactivated, it validated.
    Of course once the textile was deactivated that opened up a bunch of other problems, specifically those with the thumbprint plugin.

    Won't go into to much detail, but I had to reinsert something back in the plugin to make it validate without textile activated.

    I'm going to have a beer now :)

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.