Title: [Plugin: HungryFEED] [ in data is causing problems
Last modified: August 20, 2016

---

# [Plugin: HungryFEED] [ in data is causing problems

 *  [HFman](https://wordpress.org/support/users/hfman/)
 * (@hfman)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-in-data-is-causing-problems/)
 * Hi,
    I’m feeding the output of HF into a shortcode. if data (lets say the feed
   title) contains brackets [], then my shortcode stops working. It basically sees
   those brackets as the end or begning to my shortcode. Is there a way to escape/
   convert/replace brackets in the feed data to a different character before I feed
   it to my shortcode? Maybe we can modify HF code to covert brackets to their ASCII
   equivalent &#91 and &#93?
 * let’s say if the feed_title is “News from this source [PICTURES]” then in [my_shortcode
   change_title=”{{feed_title}}”], brackets around the word ‘PICTURES’ mess up my
   shortcode.
 * thanks
 * [http://wordpress.org/extend/plugins/hungryfeed/](http://wordpress.org/extend/plugins/hungryfeed/)

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

 *  Plugin Contributor [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-in-data-is-causing-problems/#post-3121306)
 * That’s an issue unfortunately with WordPress itself – from the page at [http://codex.wordpress.org/Shortcode_API](http://codex.wordpress.org/Shortcode_API)
 * > Square Brackets
   > The shortcode parser does not accept square brackets within attributes. Thus
   > the following will fail:
   > [tag attribute=”[Some value]”]
   > Note: these limitations may change in future versions of WordPress, you should
   > test to be absolutely sure.
 *  Thread Starter [HFman](https://wordpress.org/support/users/hfman/)
 * (@hfman)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-in-data-is-causing-problems/#post-3121318)
 * That’s what kind of guessed too. Is there a way we can modify HF code to convert
   brackets to their ASCII chars as it grabs the feed?
 *  [laupie](https://wordpress.org/support/users/laupie/)
 * (@laupie)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-in-data-is-causing-problems/#post-3121391)
 * Hi,
    I’m facing the same problem here; my feed has its descriptions encapsulated
   in `<![ CDATA [content]]>'` and this also makes HF not function anymore. A solution
   like HFman suggested would be nice!
 * Thanks
 *  Plugin Contributor [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-in-data-is-causing-problems/#post-3121424)
 * in version 1.6.1 i added the ability to pass through brackets or double-quotes
   in any HungryFEED shortcode param, using:
 * #91; = [
    #93; = } #34; = “
 * note that these are the html encodings for these characters except the ampersand
   is left off the beginning (otherwise the wordpress rich text editor winds up 
   messing it up)

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

The topic ‘[Plugin: HungryFEED] [ in data is causing problems’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hungryfeed_5ea4d7.svg)
 * [HungryFEED](https://wordpress.org/plugins/hungryfeed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hungryfeed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hungryfeed/)
 * [Active Topics](https://wordpress.org/support/plugin/hungryfeed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hungryfeed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hungryfeed/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Jason](https://wordpress.org/support/users/verysimple/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-in-data-is-causing-problems/#post-3121424)
 * Status: not resolved