Title: Html Code via Post Method, Escape Problem
Last modified: August 21, 2016

---

# Html Code via Post Method, Escape Problem

 *  [Arshi.Sheikh](https://wordpress.org/support/users/arshisheikh/)
 * (@arshisheikh)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/html-code-via-post-method-escape-problem/)
 * i have created my self coded mailing system and associated with worpress using
   like we create template page, the problem this that when i post html email to
   another page it it escape html tags like
 *     ```
       <div id=\"wrapper\">&nbsp;</div>
       <div id=\"menu\" style=\"background: #858503; height: 50px; width: 600px; margin: 0px auto; padding: 0px auto;\">
       ```
   
 * how to avoid this because i disappear my style, is there any setting or function
   unescape POST input or i should replace escape slashes with null value

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/html-code-via-post-method-escape-problem/#post-3957002)
 * It appears only the double quotes are escaped. Is that the case, or did the forum’s
   parser strip out other escapes?
 * If it’s just the quotes, it appears your content got run through `addslashes()`
   twice before adding it to the DB, but only run through `stripslashes()` once 
   on retrieval. Ideally, you should locate the extra call to `addslashes()` and
   remove it.
 * As a stop gap measure if you cannot locate the extra call, you could simply run
   your content through `stripslashes()` again to regain normal content.

Viewing 1 replies (of 1 total)

The topic ‘Html Code via Post Method, Escape Problem’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/html-code-via-post-method-escape-problem/#post-3957002)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
