{"action":"opened","issue":{"url":"https://api.github.com/repos/tzyganu/UMC1.9/issues/105","labels_url":"https://api.github.com/repos/tzyganu/UMC1.9/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/tzyganu/UMC1.9/issues/105/comments","events_url":"https://api.github.com/repos/tzyganu/UMC1.9/issues/105/events","html_url":"https://github.com/tzyganu/UMC1.9/issues/105","id":111226883,"number":105,"title":"Missing escape of single quote. PHP Parse error produced.","user":{"login":"dfelton","id":2659558,"avatar_url":"https://avatars.githubusercontent.com/u/2659558?v=3","gravatar_id":"","url":"https://api.github.com/users/dfelton","html_url":"https://github.com/dfelton","followers_url":"https://api.github.com/users/dfelton/followers","following_url":"https://api.github.com/users/dfelton/following{/other_user}","gists_url":"https://api.github.com/users/dfelton/gists{/gist_id}","starred_url":"https://api.github.com/users/dfelton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfelton/subscriptions","organizations_url":"https://api.github.com/users/dfelton/orgs","repos_url":"https://api.github.com/users/dfelton/repos","events_url":"https://api.github.com/users/dfelton/events{/privacy}","received_events_url":"https://api.github.com/users/dfelton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T17:15:13Z","updated_at":"2015-10-13T17:15:13Z","closed_at":null,"body":"When the \"Note\" attribute of an entity's field/attribute contains single quote(s), they are not being escaped when put into the corresponding instance of the Varien_Data_Form_Element_Abstract element for the field/attribute. This results in an improperly ended string, producing a PHP Parse error.  \r\n\r\n![img1](https://cloud.githubusercontent.com/assets/2659558/10462161/c20f16e0-71a2-11e5-9043-31166842b90e.png)\r\n\r\n`app/code/{{codepool}}/{{Namespace}}/{{Module}}/Block/Adminhtml/{{Entity}}/Edit/Form.php`\r\nExample Generated Source:\r\n\r\n```php\r\n$fieldset->addField(\r\n    'foo_bar',\r\n    'text',\r\n    array(\r\n        'label' => Mage::helper('foo_bar')->__('Foo Bar'),\r\n        'name'  => 'foo_bar',\r\n        'note'\t=> $this->__('Foo's Bar'),\r\n        'required'  => true,\r\n        'class' => 'required-entry',\r\n    )\r\n);\r\n```"}}