Title: Html entity decode
Last modified: August 30, 2016

---

# Html entity decode

 *  Resolved [novetrendy](https://wordpress.org/support/users/novetrendy/)
 * (@novetrendy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/html-entity-decode/)
 * Hi again,
    In my xml file have this:
 *     ```
       <descrition>
       <p>červená (R): 35-45lm</p> <p>zelená (G): 60-70lm</p> <p>modrá (B): 15-25lm</p> <p>ukázka použití ve světelné kouli: <a href="https://www.youtube.com/watch?v=GuzzHI9JH1g">https://www.youtube.com/watch?v=GuzzHI9JH1g</a></p> <p> </p>
       </description>
       ```
   
 * I try this shortcode to field Description
    `[str_replace(array("<", ">"), array("
   <", ">"), {DESCRIPTION[1]})]` but after import field Description is empty. Also
   i try `[html_entity_decode({DESCRIPTION[1]})]` and `[htmlspecialchars_decode({
   DESCRIPTION[1]})]`, but i have same effect – empty description field.
 * You can help me please?
 * [https://wordpress.org/plugins/wp-all-import/](https://wordpress.org/plugins/wp-all-import/)

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

 *  Thread Starter [novetrendy](https://wordpress.org/support/users/novetrendy/)
 * (@novetrendy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/html-entity-decode/#post-6308970)
 * Hi again,
 * im try send this again
 * “[str_replace(array(“<“, “>”), array(“<“, “>”), {DESCRIPTION[1]})]”
 * In first array:
    & l t ; & g t ; without space
 *  Thread Starter [novetrendy](https://wordpress.org/support/users/novetrendy/)
 * (@novetrendy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/html-entity-decode/#post-6308996)
 * Sorry is my fault.
    In my xml file missed <description> for few products.

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

The topic ‘Html entity decode’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

## Tags

 * [all import](https://wordpress.org/support/topic-tag/all-import/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * 2 replies
 * 1 participant
 * Last reply from: [novetrendy](https://wordpress.org/support/users/novetrendy/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/html-entity-decode/#post-6308996)
 * Status: resolved