WP adding line breaks even without visual editor
-
WordPress is adding line breaks on every carriage return on posts and pages. I use the HTML, not visual editor. And I’ve tried clicking the disable visual editor tick on my user page. You can see an example of the problem here:
https://mrbiggs.com/wordpress/books/one-beastly-beast/
Scroll down just a bit and you’ll see a series of thumbnails that use Highslide. The only way to get this to look right is to run the code for all the thumbs together, no spaces between the closing tags and the opening tags of the next thumb. This creates a mess that is difficult to edit. So I break each thumb up with a carriage return when editing the html. However, WP decided that what I want is a
and sticks it in there. If you look at the source you can see that before each anchor is a <p> tag as well that I’m not entering.I thought HTML editor wasn’t supposed to add anything to the code. Anyone have any fix? I don’t recall WP doing this in older versions.
- The topic ‘WP adding line breaks even without visual editor’ is closed to new replies.