Title: Filter Issue?
Last modified: August 21, 2016

---

# Filter Issue?

 *  Resolved [yeagerc50](https://wordpress.org/support/users/yeagerc50/)
 * (@yeagerc50)
 * [13 years ago](https://wordpress.org/support/topic/filter-issue-1/)
 * Plugin gurus please have a look at my site: [http://www.wpwebdesignmadesimple.com/wordpress/?page_id=185](http://www.wpwebdesignmadesimple.com/wordpress/?page_id=185).
   
   Then, scroll to the bottom of the page and click on the details button of the
   car. Notice the funky characters under “Description”?
 * Is this is filter issue? What do I need to do to display the text properly from
   the database?

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

 *  [David Choi](https://wordpress.org/support/users/wpthemes777/)
 * (@wpthemes777)
 * [13 years ago](https://wordpress.org/support/topic/filter-issue-1/#post-3790590)
 * Those are HTML special characters
 * [http://www.degraeve.com/reference/specialcharacters.php](http://www.degraeve.com/reference/specialcharacters.php)
 * seems like something is parchasing somewhere, using PHP functions
 * htmlentities()
    htmlspecialchars()
 *  Thread Starter [yeagerc50](https://wordpress.org/support/users/yeagerc50/)
 * (@yeagerc50)
 * [13 years ago](https://wordpress.org/support/topic/filter-issue-1/#post-3790635)
 * So, htmlspecialchars_decode() should do the trick?
 *  [David Choi](https://wordpress.org/support/users/wpthemes777/)
 * (@wpthemes777)
 * [13 years ago](https://wordpress.org/support/topic/filter-issue-1/#post-3790715)
 * Yes, you can try that. It depends where it is encoded/decoded. Maybe it’s the
   theme or from functions.php using hook for the_content, something like
 * `add_filter( 'the_content', 'filter_function_name' );`
 *  Thread Starter [yeagerc50](https://wordpress.org/support/users/yeagerc50/)
 * (@yeagerc50)
 * [13 years ago](https://wordpress.org/support/topic/filter-issue-1/#post-3790720)
 * I had my own function to clean the data prior to input to the database. One of
   them was htmlspecialchars() which was responsible for adding the characters (
   WP requires the data to be raw). I simply commented out the function and no more
   htmlspecialchars() are displayed in the “Description”.
 * Thank You!
 *  [David Choi](https://wordpress.org/support/users/wpthemes777/)
 * (@wpthemes777)
 * [13 years ago](https://wordpress.org/support/topic/filter-issue-1/#post-3790727)
 * Glad it’s solve. Have a nice day!

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

The topic ‘Filter Issue?’ is closed to new replies.

## Tags

 * [filter issue](https://wordpress.org/support/topic-tag/filter-issue/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 5 replies
 * 2 participants
 * Last reply from: [David Choi](https://wordpress.org/support/users/wpthemes777/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/filter-issue-1/#post-3790727)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
