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="https://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:[email protected]">[email protected]</a> <strong>Website:</strong> <a href="https://batchprocess.angelsix.com/">https://batchprocess.angelsix.com/</a> </div> <img src="https://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:[email protected]">[email protected]</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="https://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:[email protected]">[email protected]</a><br /> <strong>Website:</strong> <a href="https://batchprocess.angelsix.com/">https://batchprocess.angelsix.com/</a> </div> <p> <img src="https://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:[email protected]">[email protected]</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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Pages not rendering actual html code written’ is closed to new replies.