How to disable wordpress from editing html code?

Discussion in 'WordPress' started by fatabbot, Mar 31, 2008.

  1. #1
    Hi,

    Is there a way to make wordpress stop altering the html code of your posts?
    I like wordpress, but why does it have to add junk to the code, like img width and height, nbsp things, ...
    I edit all posts in html directly, but when I publish a post, it's full of garbage html code...

    Anyone else experiencing this?

    Grtz
     
    fatabbot, Mar 31, 2008 IP
  2. Steupz

    Steupz Peon

    Messages:
    917
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can't say I have noticed. Have you tried going to 'Your Profile' and 'un-clicking '...'Use the visual editor...'
     
    Steupz, Mar 31, 2008 IP
  3. arwen54

    arwen54 Active Member

    Messages:
    632
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #3
    yes, do not use the visual editor...
     
    arwen54, Mar 31, 2008 IP
  4. falguni1

    falguni1 Peon

    Messages:
    3,016
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #4
    turn the wysiwyg editor off.
     
    falguni1, Apr 1, 2008 IP
  5. Wayne Liew

    Wayne Liew Banned

    Messages:
    513
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Not using the visual editor is part of the way but WP will still nest your HTML to xHTML which it is meant here as altering the HTML.

    Apart from disabling WYSIWYG editor, you should also uncheck "WordPress should correct invalidly nested XHTML automatically" under Options --> Writing.

    Hope it helps.
     
    Wayne Liew, Apr 2, 2008 IP
  6. fatabbot

    fatabbot Well-Known Member

    Messages:
    559
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    138
    #6
    Thanks, got it fixed.
     
    fatabbot, Apr 2, 2008 IP