Title: &lt; character in shortcode content
Last modified: December 9, 2016

---

# < character in shortcode content

 *  [deepthinking](https://wordpress.org/support/users/deeptimani/)
 * (@deeptimani)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/character-in-shortcode-content/)
 * My blog is all about coding and I created a shortcode to display code in a certain
   format.
    The problem is when I use the character ‘<‘ (as in ‘less than’) inside
   the shortcode content, it seems to be interpret it as html tag < and totally 
   messes up my shortcode.
 * I read online that this was introduced in WordPress with do_shortcodes_in_html_tags
   which parses the content for HTML tags.
 * Is there a way to avoid this feature and display the < character as is in the
   shortcode content?
    -  This topic was modified 9 years, 6 months ago by [deepthinking](https://wordpress.org/support/users/deeptimani/).
    -  This topic was modified 9 years, 6 months ago by [deepthinking](https://wordpress.org/support/users/deeptimani/).

The topic ‘< character in shortcode content’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [deepthinking](https://wordpress.org/support/users/deeptimani/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/character-in-shortcode-content/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
