{"action":"created","issue":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/565","labels_url":"https://api.github.com/repos/fxbois/web-mode/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/fxbois/web-mode/issues/565/comments","events_url":"https://api.github.com/repos/fxbois/web-mode/issues/565/events","html_url":"https://github.com/fxbois/web-mode/issues/565","id":100990173,"number":565,"title":"region comment not work well if exist ERB tags.","user":{"login":"zw963","id":549126,"avatar_url":"https://avatars.githubusercontent.com/u/549126?v=3","gravatar_id":"","url":"https://api.github.com/users/zw963","html_url":"https://github.com/zw963","followers_url":"https://api.github.com/users/zw963/followers","following_url":"https://api.github.com/users/zw963/following{/other_user}","gists_url":"https://api.github.com/users/zw963/gists{/gist_id}","starred_url":"https://api.github.com/users/zw963/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zw963/subscriptions","organizations_url":"https://api.github.com/users/zw963/orgs","repos_url":"https://api.github.com/users/zw963/repos","events_url":"https://api.github.com/users/zw963/events{/privacy}","received_events_url":"https://api.github.com/users/zw963/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fxbois/web-mode/labels/commenting","name":"commenting","color":"fef2c0"},{"url":"https://api.github.com/repos/fxbois/web-mode/labels/erb","name":"erb","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-14T11:02:20Z","updated_at":"2015-10-17T06:26:24Z","closed_at":"2015-09-01T16:09:16Z","body":"```html\r\n<select name=\"name\" multiple=\"multiple\">\r\n  <li><% Time.now %></li>\r\n  <li>Three </li>\r\n</select>\r\n```\r\n\r\nif setting ``(setq web-mode-comment-style 2)``\r\nuse region select all content, run `web-mode-comment-or-uncomment`,\r\nit will result in:\r\n\r\n```html\r\n<%# <select name=\"name\" multiple=\"multiple\">\r\n<li><% Time.now %></li>\r\n<li>Three </li>\r\n</select> %>\r\n```\r\n\r\nthis result to output result:\r\n```html\r\n</li>\r\n<li>Three </li>\r\n</select> %>\r\n```"},"comment":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/comments/148889948","html_url":"https://github.com/fxbois/web-mode/issues/565#issuecomment-148889948","issue_url":"https://api.github.com/repos/fxbois/web-mode/issues/565","id":148889948,"user":{"login":"zw963","id":549126,"avatar_url":"https://avatars.githubusercontent.com/u/549126?v=3","gravatar_id":"","url":"https://api.github.com/users/zw963","html_url":"https://github.com/zw963","followers_url":"https://api.github.com/users/zw963/followers","following_url":"https://api.github.com/users/zw963/following{/other_user}","gists_url":"https://api.github.com/users/zw963/gists{/gist_id}","starred_url":"https://api.github.com/users/zw963/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zw963/subscriptions","organizations_url":"https://api.github.com/users/zw963/orgs","repos_url":"https://api.github.com/users/zw963/repos","events_url":"https://api.github.com/users/zw963/events{/privacy}","received_events_url":"https://api.github.com/users/zw963/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T06:26:24Z","updated_at":"2015-10-17T06:26:24Z","body":"Hi, I found html comment have problem too.\r\n\r\n```html\r\n  <div>\r\n    <label for=\"return_logistics_number\">上传凭证:</label>\r\n    <!-- <input type=\"file\" class=\"form-control\" id=\"return_logistics_image\" name=\"return_logistics_image\" data-url=\"server/php/\" required multiple /> -->\r\n  </div>\r\n```\r\n\r\nI select all content, add comment. will result in\r\n```html\r\n  <!-- <div>\r\n       <label for=\"return_logistics_number\">上传凭证:</label>\r\n       <!-- <input type=\"file\" class=\"form-control\" id=\"return_logistics_image\" name=\"return_logistics_image\" data-url=\"server/php/\" required multiple /> -->\r\n</div> -->\r\n\r\n```"}}