{"action":"closed","issue":{"url":"https://api.github.com/repos/toin0u/DigitalOceanV2/issues/73","labels_url":"https://api.github.com/repos/toin0u/DigitalOceanV2/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/toin0u/DigitalOceanV2/issues/73/comments","events_url":"https://api.github.com/repos/toin0u/DigitalOceanV2/issues/73/events","html_url":"https://github.com/toin0u/DigitalOceanV2/issues/73","id":53068458,"number":73,"title":"Escape double quotes when create TXT domain record with double quotes","user":{"login":"fabiopaiva","id":2126528,"avatar_url":"https://avatars.githubusercontent.com/u/2126528?v=3","gravatar_id":"","url":"https://api.github.com/users/fabiopaiva","html_url":"https://github.com/fabiopaiva","followers_url":"https://api.github.com/users/fabiopaiva/followers","following_url":"https://api.github.com/users/fabiopaiva/following{/other_user}","gists_url":"https://api.github.com/users/fabiopaiva/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiopaiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiopaiva/subscriptions","organizations_url":"https://api.github.com/users/fabiopaiva/orgs","repos_url":"https://api.github.com/users/fabiopaiva/repos","events_url":"https://api.github.com/users/fabiopaiva/events{/privacy}","received_events_url":"https://api.github.com/users/fabiopaiva/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-29T20:18:03Z","updated_at":"2015-01-07T00:02:18Z","closed_at":"2015-01-07T00:02:18Z","body":"The problem is in file DigitalOceanV2\\Api\\DomainRecord line 71\r\nIf i have a TXT record with double quotes, eg\r\n\"v=spf1 mx include:mailserver ?all\"\r\nthe result is\r\n{\"name\":\"mydomain\", \"type\":\"TXT\", \"data\":\"\"v=spf1 mx include:mailserver ?all\"\"}\r\nCausing error 500"}}