{"action":"created","issue":{"url":"https://api.github.com/repos/soimort/translate-shell/issues/139","repository_url":"https://api.github.com/repos/soimort/translate-shell","labels_url":"https://api.github.com/repos/soimort/translate-shell/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/soimort/translate-shell/issues/139/comments","events_url":"https://api.github.com/repos/soimort/translate-shell/issues/139/events","html_url":"https://github.com/soimort/translate-shell/issues/139","id":173580634,"number":139,"title":"Google HTML tags issue","user":{"login":"etsanov","id":16024991,"avatar_url":"https://avatars.githubusercontent.com/u/16024991?v=3","gravatar_id":"","url":"https://api.github.com/users/etsanov","html_url":"https://github.com/etsanov","followers_url":"https://api.github.com/users/etsanov/followers","following_url":"https://api.github.com/users/etsanov/following{/other_user}","gists_url":"https://api.github.com/users/etsanov/gists{/gist_id}","starred_url":"https://api.github.com/users/etsanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etsanov/subscriptions","organizations_url":"https://api.github.com/users/etsanov/orgs","repos_url":"https://api.github.com/users/etsanov/repos","events_url":"https://api.github.com/users/etsanov/events{/privacy}","received_events_url":"https://api.github.com/users/etsanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-27T06:09:59Z","updated_at":"2016-08-27T06:29:23Z","closed_at":null,"body":"Hi,\r\nGreat tool, but I am having a small problem. I read, and it seems that Google has plain text and HTML formats. The default should be HTML. However, when I include `<br>` for example, the translation returns \"u003cbr/u003e\". Here is my code:\r\n\r\n`foreach($parentCollection as $parentID) {\r\n    $parentProducts = Mage::getModel( 'catalog/product' )->load( $parentID->getId() );\r\n    $sku = $parentProducts->getSku();\r\n    $description_en = $parentProducts->getDescription();\r\n    $description_bg = shell_exec(\"translate/trans -b -e google \\\"$description_en\\\" :bg\");\r\n    fputcsv($fp, array($sku, $description_en, $description_bg_html), \",\");`\r\n\r\nIs there a workaround? Is there a setting I need to specify in regard to the HTML default support. Please advise! Thank you again for a wonderful translate tool!"},"comment":{"url":"https://api.github.com/repos/soimort/translate-shell/issues/comments/242899699","html_url":"https://github.com/soimort/translate-shell/issues/139#issuecomment-242899699","issue_url":"https://api.github.com/repos/soimort/translate-shell/issues/139","id":242899699,"user":{"login":"soimort","id":342945,"avatar_url":"https://avatars.githubusercontent.com/u/342945?v=3","gravatar_id":"","url":"https://api.github.com/users/soimort","html_url":"https://github.com/soimort","followers_url":"https://api.github.com/users/soimort/followers","following_url":"https://api.github.com/users/soimort/following{/other_user}","gists_url":"https://api.github.com/users/soimort/gists{/gist_id}","starred_url":"https://api.github.com/users/soimort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soimort/subscriptions","organizations_url":"https://api.github.com/users/soimort/orgs","repos_url":"https://api.github.com/users/soimort/repos","events_url":"https://api.github.com/users/soimort/events{/privacy}","received_events_url":"https://api.github.com/users/soimort/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T06:29:23Z","updated_at":"2016-08-27T06:29:23Z","body":"I don't understand what your problem is."}}
{"actor":{"display_login":"soimort"}}