WordPress.org

Ready to get started?Download WordPress

Forums

WP Removes Whitespace and Adds Character Codes (2 posts)

  1. scyberia
    Member
    Posted 2 years ago #

    Hi all,

    I am currently very annoyed with WordPress because of two things:

    1. WordPress removes whitespace. For example, I press enter 3 times to keep a spacer so that my posts don't get too crowded and since WP 3.3 it just removes ALL of them.
    2. WordPress replaces all of my < and > with the their HTML character codes ("&lt") and replaces my line breaks (in code) with "br". I'm using SyntaxHighlighter Evolved and it doesn't parse these codes as their characters so my code looks like this:
    3. &lt?php<br \>echo "example";<br \>?&gt
      (I removed the ";" on purpose)

    PLEASE PLEASE HELP!!! It's killing me!

  2. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

    I press enter 3 times to keep a spacer so that my posts don't get too crowded

    Better controlled with css.

    Have you tried:
    - deactivating all plugins (yes, all) to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s). Don't forget the ones in mu-plugins if you have that. If you can't get into your admin dashboard, try resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

Topic Closed

This topic has been closed to new replies.

About this Topic