{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/2880","labels_url":"https://api.github.com/repos/openhab/openhab/issues/2880/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/2880/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/2880/events","html_url":"https://github.com/openhab/openhab/pull/2880","id":93879541,"number":2880,"title":"Strip off the double quotes from the mapping command in case they exist.","user":{"login":"marcelerkel","id":11489110,"avatar_url":"https://avatars.githubusercontent.com/u/11489110?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelerkel","html_url":"https://github.com/marcelerkel","followers_url":"https://api.github.com/users/marcelerkel/followers","following_url":"https://api.github.com/users/marcelerkel/following{/other_user}","gists_url":"https://api.github.com/users/marcelerkel/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelerkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelerkel/subscriptions","organizations_url":"https://api.github.com/users/marcelerkel/orgs","repos_url":"https://api.github.com/users/marcelerkel/repos","events_url":"https://api.github.com/users/marcelerkel/events{/privacy}","received_events_url":"https://api.github.com/users/marcelerkel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openhab/openhab/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/openhab/openhab/milestones/11","html_url":"https://github.com/openhab/openhab/milestones/1.7.1","labels_url":"https://api.github.com/repos/openhab/openhab/milestones/11/labels","id":1127991,"number":11,"title":"1.7.1","description":"","creator":{"login":"teichsta","id":2108636,"avatar_url":"https://avatars.githubusercontent.com/u/2108636?v=3","gravatar_id":"","url":"https://api.github.com/users/teichsta","html_url":"https://github.com/teichsta","followers_url":"https://api.github.com/users/teichsta/followers","following_url":"https://api.github.com/users/teichsta/following{/other_user}","gists_url":"https://api.github.com/users/teichsta/gists{/gist_id}","starred_url":"https://api.github.com/users/teichsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teichsta/subscriptions","organizations_url":"https://api.github.com/users/teichsta/orgs","repos_url":"https://api.github.com/users/teichsta/repos","events_url":"https://api.github.com/users/teichsta/events{/privacy}","received_events_url":"https://api.github.com/users/teichsta/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":54,"state":"open","created_at":"2015-05-25T05:34:50Z","updated_at":"2015-07-22T23:01:31Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-08T20:12:48Z","updated_at":"2015-07-25T17:20:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openhab/openhab/pulls/2880","html_url":"https://github.com/openhab/openhab/pull/2880","diff_url":"https://github.com/openhab/openhab/pull/2880.diff","patch_url":"https://github.com/openhab/openhab/pull/2880.patch"},"body":"This fixes the root cause of the Classic UI not supporting double quotes in Mapping commands.\r\n\r\nWhen enclosing the command in double quotes, the double quotes become part of command. This causes two problems:\r\n* HTML gets formatted as \"\"the command\"\" instead of \"the command\"\r\n* \"the command\" != the command so there can never be a match and as a result the switch and selection item do not work properly when the command is wrapped in double quotes\r\n\r\nReported problems/issues:\r\n* This fixes the problem reported [here](https://groups.google.com/forum/#!category-topic/openhab/sitemaps/wFbXRT1LWxg) with the Harmony Hub Binding.\r\n* #1414\r\n* Probably #1837 as well.\r\n\r\nDiscussion topic can be found [here](https://groups.google.com/forum/#!category-topic/openhab/sitemaps/D-PpPY-ixns).\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/124863182","html_url":"https://github.com/openhab/openhab/pull/2880#issuecomment-124863182","issue_url":"https://api.github.com/repos/openhab/openhab/issues/2880","id":124863182,"user":{"login":"marcelerkel","id":11489110,"avatar_url":"https://avatars.githubusercontent.com/u/11489110?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelerkel","html_url":"https://github.com/marcelerkel","followers_url":"https://api.github.com/users/marcelerkel/followers","following_url":"https://api.github.com/users/marcelerkel/following{/other_user}","gists_url":"https://api.github.com/users/marcelerkel/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelerkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelerkel/subscriptions","organizations_url":"https://api.github.com/users/marcelerkel/orgs","repos_url":"https://api.github.com/users/marcelerkel/repos","events_url":"https://api.github.com/users/marcelerkel/events{/privacy}","received_events_url":"https://api.github.com/users/marcelerkel/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T17:20:22Z","updated_at":"2015-07-25T17:20:22Z","body":"Implementation updated based on lessons learned while fixing PR #2933."}}