Title: Uneascaping posts
Last modified: August 18, 2016

---

# Uneascaping posts

 *  Resolved [hanifb](https://wordpress.org/support/users/hanifb/)
 * (@hanifb)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/uneascaping-posts/)
 * Hers the deal:
 * I have created a admin page where i can create special posts with tiny MCE and
   they are written into their own database table.
 * The problem is that i have a good sense that i am doing it wrong.
 * WP escapes my post when it writes it into the database, but how can i unescape
   it and keeping the TinyMCE html tags when i read it?

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

 *  Thread Starter [hanifb](https://wordpress.org/support/users/hanifb/)
 * (@hanifb)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/uneascaping-posts/#post-647397)
 * Ok since nobody answered i assume that my question was misformulated,
 * What function adds the `<p>` on line breaks when a post is read from the database?
 *  Thread Starter [hanifb](https://wordpress.org/support/users/hanifb/)
 * (@hanifb)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/uneascaping-posts/#post-647434)
 * Found it!
 * `apply_filters('the_content',$thetext);`

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

The topic ‘Uneascaping posts’ is closed to new replies.

## Tags

 * [escaping](https://wordpress.org/support/topic-tag/escaping/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)

 * 2 replies
 * 1 participant
 * Last reply from: [hanifb](https://wordpress.org/support/users/hanifb/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/uneascaping-posts/#post-647434)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
