Title: I Have Warning: DOMDocument::loadHTML(
Last modified: August 22, 2016

---

# I Have Warning: DOMDocument::loadHTML(

 *  Resolved [buanacyber](https://wordpress.org/support/users/buanacyber/)
 * (@buanacyber)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/i-have-warning-domdocumentloadhtml/)
 * Hi there,
 * I wrote some html tags in my post_content column, just like this:
 * “<p style=”text-align: center;”><span style=”color: #ff0000;”>**\*\*\* BLA BLA
   BLA BLA BLA BLA BLA BLA BLA \*\*\***</span></p>
    <p style=”text-align: center;”
   >**BLA BLA BLA !!!  <span style=”text-decoration: underline;”>BLA BLA BLA </span
   > BLA BLA BLA .**</p> <p style=”text-align: justify;”>Bla bla bla Bla bla bla
   Bla bla bla Bla bla bla.</p> <p style=”text-align: center;”>**BLA BLA BLA !!!**
   </p> BLA BLA BLA : – Bla bla bla – Bla bla bla – Bla bla bla <p style=”text-align:
   justify;”>Bla bla bla [**Bla bla bla**](http://mydomain.com/) Bla bla bla.</p
   > <p style=”text-align: justify;”><span style=”color: #ff0000;”>**BLA BLA BLA
   _BLA BLA BLA_ BLA BLA BLA <span style=”color: #0000ff;”>[BLA BLA BLA](http://mydomain.com)
   </span>**</span></p> <p style=”text-align: center;”>**BLA BLA BLA.**</p>
 * But it doesnt work, its display only just a few line, no more, just like this:
   “
   <p style=”text-align: center;”><span style=”color: #ff0000;”>**\*\*\* BLA BLA
   BLA BLA BLA BLA BLA BLA BLA \*\*\***</span></p> <p style=”text-align: center;”
   >**BLA BLA BLA !!!  <span style=”text-decoration: underline;”>BLA BLA BLA </span
   > BLA BLA BLA .**</p>
 * And i see this error notification while i’m importing csv file:
 * Warning: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line:
   8 in /home1/myname/public_html/mydomain/wp-content/plugins/wp-ultimate-csv-importer/
   plugins/class.inlineimages.php on line 28
    Created Post_ID – 28 – success , Author–
   not found (assigned to [admin@mydomain.com](https://wordpress.org/support/topic/i-have-warning-domdocumentloadhtml/admin@mydomain.com?output_format=md)),
   Category – Category 1 | Category 1 , , Date – 2015-02-05 09:15:00 , Image -Image.
   jpg , Status – publish , Verify Here
 * Would you please give me some help?
 * [https://wordpress.org/plugins/wp-ultimate-csv-importer/](https://wordpress.org/plugins/wp-ultimate-csv-importer/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Smackcoders Inc.,](https://wordpress.org/support/users/smackcoders/)
 * (@smackcoders)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/i-have-warning-domdocumentloadhtml/#post-5757842)
 * Yes, it looks like breakage in csv due to format issues. It should be properly
   escaped and saved in UTF-8 format.
 * I have made a private post import in our demo. Verify it
    Web view – [http://demo.smackcoders.com/demowptwo/bla-bla/](http://demo.smackcoders.com/demowptwo/bla-bla/)
   Admin view – [http://demo.smackcoders.com/demowptwo/wp-admin/post.php?post=2297&action=edit](http://demo.smackcoders.com/demowptwo/wp-admin/post.php?post=2297&action=edit)
 * So the csv should be like
 *     ```
       Title,Content,Author
       BLA BLA,"""<p style=""text-align: center;""><span style=""color: #ff0000;"">*** BLA BLA BLA BLA BLA BLA BLA BLA BLA ***</span></p>
       <p style=""text-align: center;"">BLA BLA BLA !!!  <span style=""text-decoration: underline;"">BLA BLA BLA </span> BLA BLA BLA .</p>
       <p style=""text-align: justify;"">Bla bla bla Bla bla bla Bla bla bla Bla bla bla.</p>
       <p style=""text-align: center;"">BLA BLA BLA !!!</p>
       BLA BLA BLA :
       - Bla bla bla
       – Bla bla bla
       – Bla bla bla
       <p style=""text-align: justify;"">Bla bla bla Bla bla bla Bla bla bla.</p>
       <p style=""text-align: justify;""><span style=""color: #ff0000;"">BLA BLA BLA BLA BLA BLA BLA BLA BLA <span style=""color: #0000ff;"">BLA BLA BLA</span></span></p>
       <p style=""text-align: center;"">BLA BLA BLA.</p>",buanacyber
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘I Have Warning: DOMDocument::loadHTML(’ is closed to new replies.

 * ![](https://ps.w.org/wp-ultimate-csv-importer/assets/icon.svg?rev=3131703)
 * [WP Ultimate CSV Importer – Import CSV, XML & Excel into WordPress](https://wordpress.org/plugins/wp-ultimate-csv-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ultimate-csv-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ultimate-csv-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ultimate-csv-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ultimate-csv-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ultimate-csv-importer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Smackcoders Inc.,](https://wordpress.org/support/users/smackcoders/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/i-have-warning-domdocumentloadhtml/#post-5757842)
 * Status: resolved