WordPress.org

Ready to get started?Download WordPress

Forums

HTML instead of XHTML (8 posts)

  1. Ewik
    Member
    Posted 8 years ago #

    How can I get WP output my posts in HTML instead of XHTML?
    Now I got <br /> and I want <br> an so on.

    I have looked for a plugin but haven't found any.

  2. jbbrwcky
    Member
    Posted 8 years ago #

    You might have been asked this before, but, why?

  3. davidhouse
    Member
    Posted 8 years ago #

    There are various reasons why you might want to use HTML over XHTML, and discussing them normally leads into a flame war. Anyway, the unfortunate bottom line at the moment is no, you can't get WP to produce HTML instead of XHTML.

    This would make a good plugin candidate...

  4. mattman
    Member
    Posted 8 years ago #

    Yes,

    Why? HTML is um "so yesterday". Everything about WordPress is designed with XHTML in mind...

    There may be something out there that does it. However, keep in mind, that (I'll assume your on 2.0) TinyMCE outputs XHTML so you have to modify that as well.

    Why do you want HTML?

  5. Ewik
    Member
    Posted 8 years ago #

    I guessed that someone should ask that question. :)

    It's because I can't serve XHTML as it is supposed to be served.
    So I decided to do like some other Swedes have done.
    Roger at 456 Berea Street and Robert at Robert's talk have both started to use HTML.

  6. mattman
    Member
    Posted 8 years ago #

    "It's because I can't serve XHTML as it is supposed to be served."

    What do you mean by this?

  7. Jewels
    Member
    Posted 8 years ago #

    application/xhtml+xml as opposed to text/html

  8. VxJasonxV
    Member
    Posted 8 years ago #

    XHTML (to spec) should be with the mime-type application/xhtml+xml like Jewels said.
    IT's not XHTML without it.

    It's a big nitpicky standards issue.
    The reason why it's an issue is because Internet Explorer prompts the user to download pages served as application/xhtml+xml.

    Rumor has it, that's still the case even in IE7 builds.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags