{"action":"opened","issue":{"url":"https://api.github.com/repos/zordius/lightncandy/issues/218","repository_url":"https://api.github.com/repos/zordius/lightncandy","labels_url":"https://api.github.com/repos/zordius/lightncandy/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/zordius/lightncandy/issues/218/comments","events_url":"https://api.github.com/repos/zordius/lightncandy/issues/218/events","html_url":"https://github.com/zordius/lightncandy/issues/218","id":147628119,"number":218,"title":"Not outputting the code correctly on second render","user":{"login":"mangomkt","id":8193927,"avatar_url":"https://avatars.githubusercontent.com/u/8193927?v=3","gravatar_id":"","url":"https://api.github.com/users/mangomkt","html_url":"https://github.com/mangomkt","followers_url":"https://api.github.com/users/mangomkt/followers","following_url":"https://api.github.com/users/mangomkt/following{/other_user}","gists_url":"https://api.github.com/users/mangomkt/gists{/gist_id}","starred_url":"https://api.github.com/users/mangomkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangomkt/subscriptions","organizations_url":"https://api.github.com/users/mangomkt/orgs","repos_url":"https://api.github.com/users/mangomkt/repos","events_url":"https://api.github.com/users/mangomkt/events{/privacy}","received_events_url":"https://api.github.com/users/mangomkt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T04:23:12Z","updated_at":"2016-04-12T04:23:12Z","closed_at":null,"body":"The PHP Code:\r\n-------------\r\n\r\n```php\r\n$template \t\t= $this->cdm_template;\r\ncontent \t\t= $this->shortcode_content;\r\n$phpStr \t\t= LightnCandy::compile($template); // I had this outside of this before\r\n$renderer\t\t= LightnCandy::prepare($phpStr);\r\n$data \t\t\t= $this->field_tokens_array;\r\n$field_tokens \t= array();\r\nforeach ($data as $slug => $data) {\r\n\t$field_tokens[$slug] = $this->shortcode_atts[$slug];\r\n }\r\n$module_class = ET_Builder_Element::add_module_order_class( $module_class, $function_name );\r\n$output = $renderer($field_tokens);```\r\n\r\n\r\nThe Issue:\r\n----------\r\n\r\nIt outputs \r\n&lt;li&gt;Element One&lt;/li&gt;&lt;li&gt;Item One&lt;/li&gt;&lt;li&gt;Item One&lt;/li&gt;\r\n\r\nThe first occurrence I use to make the parent element works fine\r\n\r\nin fact it outputs\r\n<div class=\"pCLASS\" id=\"pID\">  &lt;li&gt;Element One&lt;/li&gt;&lt;li&gt;Item One&lt;/li&gt;&lt;li&gt;Item One&lt;/li&gt;  </div>\r\n\r\nany idea why?"}}