Title: Pages not rendering actual html code written
Last modified: August 19, 2016

---

# Pages not rendering actual html code written

 *  [malpass](https://wordpress.org/support/users/malpass/)
 * (@malpass)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/pages-not-rendering-actual-html-code-written/)
 * I have pages in WordPress, and one has the following code exactly:
 *     ```
       <div class="contactdetails">
       	<h1>UK Location</h1>
       	<img src="http://www.angelsix.com/images/contact/general.png" />
       	<h2>General Inquiries</h2>
   
       	<div class="contactentry">
       		<h1>Luke Malpass</h1>
       		<strong>Telephone</strong>: (+44)7817900513
       	</div>
   
       	<h2>Product Help and Support</h2>
       	<div class="contactentry">
       		<h1>BatchProcess</h1>
       		 <strong>Email</strong>: <a href="mailto:batchprocess@angelsix.com">batchprocess@angelsix.com</a>
       		 <strong>Website:</strong> <a href="http://batchprocess.angelsix.com/">http://batchprocess.angelsix.com/</a>
       	</div>
   
       	<img src="http://www.angelsix.com/images/contact/security.png" />
       	<h2>Sales and Licensing</h2>
       	Please have all the relevant information to hand, including your Company Name, Product Title and Version etc...
   
       	<div class="contactentry">
       		<h1>Licensing Department</h1>
       		<strong>Email</strong>: <a href="mailto:licensing@angelsix.com">licensing@angelsix.com</a>
       		<strong>Telephone:</strong> (+44)7817900513
       	</div>
       </div>
       ```
   
 * Yet when its rendering the page, it outputs this:
 *     ```
       <div class="contactdetails">
       <h1>UK Location</h1>
       <p>	<img src="http://www.angelsix.com/images/contact/general.png" /></p>
       <h2>General Inquiries</h2>
       <div class="contactentry">
       <h1>Luke Malpass</h1>
       <p>		<strong>Telephone</strong>: (+44)7817900513
       	</div>
   
       <h2>Product Help and Support</h2>
       <div class="contactentry">
       <h1>BatchProcess</h1>
       <p>		 <strong>Email</strong>: <a href="mailto:batchprocess@angelsix.com">batchprocess@angelsix.com</a><br />
       		 <strong>Website:</strong> <a href="http://batchprocess.angelsix.com/">http://batchprocess.angelsix.com/</a>
       	</div>
   
       <p>	<img src="http://www.angelsix.com/images/contact/security.png" /></p>
       <h2>Sales and Licensing</h2>
       <p>	Please have all the relevant information to hand, including your Company Name, Product Title and Version etc…</p>
       <div class="contactentry">
       <h1>Licensing Department</h1>
       <p>		<strong>Email</strong>: <a href="mailto:licensing@angelsix.com">licensing@angelsix.com</a><br />
       		<strong>Telephone:</strong> (+44)7817900513
       	</div>
   
       </div>
   
       		</div>
       	</div>
       </div>
       ```
   
 * Notice the <P> tags its added everywhere and not even closed them. In effect,
   this has messed my css styling up, namely my image is float: left; and because
   it has put it in a <p> it does not float to anything.
 * Anyone know why this is and how to stop it?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [malpass](https://wordpress.org/support/users/malpass/)
 * (@malpass)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/pages-not-rendering-actual-html-code-written/#post-714021)
 * By the way, the first examples are what is actually stored in the mySQL database
   AFTER posting, which I also had to fix by manually editing in phpAdmin. But even
   when the database is correct, the rendered output still has phantom entries.
 * Here is another example:
 * Original:
 *     ```
       If you would like bespoke software, do not hesitate to contact us. Take a look
       at our Services for pricing and availability.
   
       <div class="productentry"> <img src="http://www.angelsix.com/images/products/batchprocess.png" />
       <h1>BatchProcess v1.2</h1>
       THE automation tool for engineers!
       <ul>
       	<li>Save an entire assembly in any 28 native formats in 3 minutes.</li>
       	<li>Print off all 100s of drawings for production in just one click.</li>
       	<li>Set custom properties for every part in an assembly in one go.</li>
       	<li>Update all drawing templates with new revisions without hassle.
       And much more...</li>
       </ul>
       <a href="http://batchprocess.angelsix.com">Visit website for more details</a>
       </div>
       ```
   
 * Rendered in IE7 & FF2:
 *     ```
       If you would like bespoke software, do not hesitate to contact us. Take a look
       at our Services for pricing and availability.
   
       <div class="productentry"> <img src="http://www.angelsix.com/images/products/batchprocess.png" />
   
       <h1>BatchProcess v1.2</h1>
       THE automation tool for engineers!
   
       <ul>
   
       <li>Save an entire assembly in any 28 native formats in 3 minutes.</li>
       <li>Print off all 100s of drawings for production in just one click.</li>
       <li>Set custom properties for every part in an assembly in one go.</li>
       <li>Update all drawing templates with new revisions without hassle.
       And much more…</li>
       </ul>
       <a href="http://batchprocess.angelsix.com">Visit website for more details</a>
       </div>
       ```
   
 * Notice it is adding </p>’s randomly creating invalid html
 *  Thread Starter [malpass](https://wordpress.org/support/users/malpass/)
 * (@malpass)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/pages-not-rendering-actual-html-code-written/#post-714035)
 * Sorry, I double pasted the same code in last post. It rendered as:
 *     ```
       <p>If you would like bespoke software, do not hesitate to contact us. Take a look<br />
       at our Services for pricing and availability.</p>
       <div class="productentry"> <img src="http://www.angelsix.com/images/products/batchprocess.png" /></p>
       <h1>BatchProcess v1.2</h1>
       <p>THE automation tool for engineers!</p>
       <ul>
   
       <li>Save an entire assembly in any 28 native formats in 3 minutes.</li>
       <li>Print off all 100s of drawings for production in just one click.</li>
       <li>Set custom properties for every part in an assembly in one go.</li>
       <li>Update all drawing templates with new revisions without hassle.<br />
       And much more…</li>
       </ul>
       <p><a href="http://batchprocess.angelsix.com">Visit website for more details</a>
       </div>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Pages not rendering actual html code written’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [malpass](https://wordpress.org/support/users/malpass/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/pages-not-rendering-actual-html-code-written/#post-714035)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
