Title: Editor &#8211; HTML Behavior
Last modified: August 19, 2016

---

# Editor – HTML Behavior

 *  [pixelnaut](https://wordpress.org/support/users/pixelnaut/)
 * (@pixelnaut)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/editor-html-behavior/)
 * I’m creating a WP site to publicize a book. I would like to put a book excerpt
   page on the site. I’m focusing on one particular page style (used in about 90
   pages) that has a lot of formatting (indents, bolds, italics). I’ve built a test
   version of that page style, saved it from Word as web-page filtered, and can 
   review and tweak it in Notepad++. However, without any tweaks, I can look at 
   that page in a browser, and upload it to Amazon Kindle (to review in Kindle for
   PC), and it looks the way I intended. In particular, the document has `<p>` `
   </p>` notation and associated “p.” styles, and in the browser and in Kindle they
   create a single line return, not a double line return.
 * The test page html code is at the end of this post.
 * When I copy the entire page of html to WP page editor (html mode), and view the
   page, everything looks good except that:
    – It shows a double line break for 
   each `<p>` – It throws in line breaks any time the “source” has a line break (
   even if not `<b>` or `<p>`.
 * I’m looking for a way to get the page to look the way I would like in WordPress,
   without the double line breaks and other problem. One issue I see is that if 
   I take out the paragraph notation, then I don’t see how to make the styles change
   from one line to the next.
 * If I have to, I will recreate the entire page in WP from scratch, however, I 
   would still want to be able to bold one line, and then indent and unbold the 
   line immediately following without a double line break.
 * Any suggestions about this would be appreciated.
 * Thanks!
 * [Large code excerpt removed by moderator per [forum rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use [the pastebin](http://wordpress.pastebin.com/) for all large code 
   excerpts. It works better anyway.]

Viewing 1 replies (of 1 total)

 *  Thread Starter [pixelnaut](https://wordpress.org/support/users/pixelnaut/)
 * (@pixelnaut)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/editor-html-behavior/#post-1831403)
 * [http://wordpress.pastebin.com/Fprvm9BF](http://wordpress.pastebin.com/Fprvm9BF)

Viewing 1 replies (of 1 total)

The topic ‘Editor – HTML Behavior’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [pixelnaut](https://wordpress.org/support/users/pixelnaut/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/editor-html-behavior/#post-1831403)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
