{"action":"created","issue":{"url":"https://api.github.com/repos/htacg/tidy-html5/issues/713","repository_url":"https://api.github.com/repos/htacg/tidy-html5","labels_url":"https://api.github.com/repos/htacg/tidy-html5/issues/713/labels{/name}","comments_url":"https://api.github.com/repos/htacg/tidy-html5/issues/713/comments","events_url":"https://api.github.com/repos/htacg/tidy-html5/issues/713/events","html_url":"https://github.com/htacg/tidy-html5/issues/713","id":311769313,"number":713,"title":"tidy's error messages should include filename somewhere","user":{"login":"petdance","id":41100,"avatar_url":"https://avatars0.githubusercontent.com/u/41100?v=4","gravatar_id":"","url":"https://api.github.com/users/petdance","html_url":"https://github.com/petdance","followers_url":"https://api.github.com/users/petdance/followers","following_url":"https://api.github.com/users/petdance/following{/other_user}","gists_url":"https://api.github.com/users/petdance/gists{/gist_id}","starred_url":"https://api.github.com/users/petdance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petdance/subscriptions","organizations_url":"https://api.github.com/users/petdance/orgs","repos_url":"https://api.github.com/users/petdance/repos","events_url":"https://api.github.com/users/petdance/events{/privacy}","received_events_url":"https://api.github.com/users/petdance/received_events","type":"User","site_admin":false},"labels":[{"id":8461214,"url":"https://api.github.com/repos/htacg/tidy-html5/labels/Feature%20Request","name":"Feature Request","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-04-05T21:06:30Z","updated_at":"2018-04-11T23:06:07Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When I run `tidy` from the command line on multiple files, I can't tell which file the errors apply to:\r\n\r\n```\r\n$ tidy -q -e *.html\r\nline 343 column 35 - Warning: <img> attribute \"height\" has invalid value \"auto\"\r\nline 276 column 11 - Warning: trimming empty <span>                                   \r\nline 275 column 9 - Warning: trimming empty <button>                           \r\nline 409 column 5 - Warning: moved <style> tag to <head>! fix-style-tags: no to avoid.\r\nline 370 column 19 - Warning: <iframe> proprietary attribute \"allow\"\r\nline 335 column 13 - Warning: <img> attribute \"height\" has invalid value \"auto\"\r\nline 269 column 11 - Warning: trimming empty <span>\r\nline 268 column 9 - Warning: trimming empty <button>\r\nline 445 column 5 - Warning: moved <style> tag to <head>! fix-style-tags: no to avoid.\r\n```\r\n\r\nRunning without the `-q` doesn't show me the filename either.\r\n```\r\n$ tidy -e *.html                    \r\nline 343 column 35 - Warning: <img> attribute \"height\" has invalid value \"auto\"       \r\nline 276 column 11 - Warning: trimming empty <span>                              \r\nline 275 column 9 - Warning: trimming empty <button>\r\nline 409 column 5 - Warning: moved <style> tag to <head>! fix-style-tags: no to avoid.\r\nline 370 column 19 - Warning: <iframe> proprietary attribute \"allow\"\r\nInfo: Document content looks like HTML5                 \r\nTidy found 5 warnings and 0 errors!                                            \r\n                                                        \r\nline 335 column 13 - Warning: <img> attribute \"height\" has invalid value \"auto\"\r\nline 269 column 11 - Warning: trimming empty <span>     \r\nline 268 column 9 - Warning: trimming empty <button>    \r\nline 445 column 5 - Warning: moved <style> tag to <head>! fix-style-tags: no to avoid.\r\nInfo: Document content looks like HTML5            \r\nTidy found 4 warnings and 0 errors!  \r\n```"},"comment":{"url":"https://api.github.com/repos/htacg/tidy-html5/issues/comments/380623101","html_url":"https://github.com/htacg/tidy-html5/issues/713#issuecomment-380623101","issue_url":"https://api.github.com/repos/htacg/tidy-html5/issues/713","id":380623101,"user":{"login":"balthisar","id":3053246,"avatar_url":"https://avatars1.githubusercontent.com/u/3053246?v=4","gravatar_id":"","url":"https://api.github.com/users/balthisar","html_url":"https://github.com/balthisar","followers_url":"https://api.github.com/users/balthisar/followers","following_url":"https://api.github.com/users/balthisar/following{/other_user}","gists_url":"https://api.github.com/users/balthisar/gists{/gist_id}","starred_url":"https://api.github.com/users/balthisar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balthisar/subscriptions","organizations_url":"https://api.github.com/users/balthisar/orgs","repos_url":"https://api.github.com/users/balthisar/repos","events_url":"https://api.github.com/users/balthisar/events{/privacy}","received_events_url":"https://api.github.com/users/balthisar/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T23:06:07Z","updated_at":"2018-04-11T23:06:07Z","author_association":"OWNER","body":"@ler762, you don't really need a \"see also\"; the xrefs will take care of that, but maybe just a quick note on `TidyShowFilename` saying that `gnu-emacs` overrides it.\r\n\r\nJust a quick note on formatting: there's no need for trailing backslashes on interrupted lines. C only cares about whitespace in certain, limited circumstances. It doesn't hurt; you're effectively escaping the carriage return, but just weird to look at outside of a Unix shell.\r\n"}}
{"actor":{"display_login":"balthisar"}}