{"action":"opened","issue":{"url":"https://api.github.com/repos/pods-framework/pods/issues/2853","labels_url":"https://api.github.com/repos/pods-framework/pods/issues/2853/labels{/name}","comments_url":"https://api.github.com/repos/pods-framework/pods/issues/2853/comments","events_url":"https://api.github.com/repos/pods-framework/pods/issues/2853/events","html_url":"https://github.com/pods-framework/pods/issues/2853","id":69466849,"number":2853,"title":"If block doesn't properly test and process shortcodes and captions","user":{"login":"Sheriziya","id":3530524,"avatar_url":"https://avatars.githubusercontent.com/u/3530524?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheriziya","html_url":"https://github.com/Sheriziya","followers_url":"https://api.github.com/users/Sheriziya/followers","following_url":"https://api.github.com/users/Sheriziya/following{/other_user}","gists_url":"https://api.github.com/users/Sheriziya/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheriziya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheriziya/subscriptions","organizations_url":"https://api.github.com/users/Sheriziya/orgs","repos_url":"https://api.github.com/users/Sheriziya/repos","events_url":"https://api.github.com/users/Sheriziya/events{/privacy}","received_events_url":"https://api.github.com/users/Sheriziya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-19T21:29:44Z","updated_at":"2015-04-19T21:29:44Z","closed_at":null,"body":"Hi,\r\n\r\nI've posted this in the forum already (http://pods.io/forums/topic/deprecated-pod-template-with-auto-frontier/), but I thought I'd mention it here too to have it listed in the bugs as I understand from Scott's response this might be a bug.\r\n\r\nIn my portfolio I need to test if certain fields have something in it and only when something is in it, the data needs to be displayed. So I do this with the if block. This works good if the field is empty. But, when the field is NOT empty, the if block doesn't properly handle the shortcode nor the caption code (which I assume is also in a way a shortcode). When the field is NOT empty it prints the shortcode instead of processing it.\r\nMaybe it's something specific to how I build it. I've used a WYSIWYG field in the POD and in the Advanced options of that field, I've checked all options, including \"allow shortcodes\".\r\n\r\nAlso, I have noticed the If block doesn't process the caption for images. Again, I've used a WYSIWYG field (other field than the field for the shortcode I was using), checked all the options (including \"allow shortcodes\") in the advanced tab.\r\nHere's the result with the if block test:\r\n![ifblockcanthandlecaptioncode](https://cloud.githubusercontent.com/assets/3530524/7221448/b514f1cc-e6eb-11e4-8a7f-c0261761bf10.png)\r\n\r\nHere's what it should look like if the if block would test and process it correctly:\r\n![ifblockresultasitshouldbewithcaption](https://cloud.githubusercontent.com/assets/3530524/7221455/d8e1db92-e6eb-11e4-810e-96fddbde3162.png)\r\n\r\nI hope a solution to this problem/bug can be found.\r\n\r\nThanks for looking into it!"}}