{"action":"created","issue":{"url":"https://api.github.com/repos/cyrusinnovation/just-not-sorry/issues/12","labels_url":"https://api.github.com/repos/cyrusinnovation/just-not-sorry/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cyrusinnovation/just-not-sorry/issues/12/comments","events_url":"https://api.github.com/repos/cyrusinnovation/just-not-sorry/issues/12/events","html_url":"https://github.com/cyrusinnovation/just-not-sorry/issues/12","id":125231521,"number":12,"title":"warning message spans may appear in sent email","user":{"login":"lsloan","id":20786,"avatar_url":"https://avatars.githubusercontent.com/u/20786?v=3","gravatar_id":"","url":"https://api.github.com/users/lsloan","html_url":"https://github.com/lsloan","followers_url":"https://api.github.com/users/lsloan/followers","following_url":"https://api.github.com/users/lsloan/following{/other_user}","gists_url":"https://api.github.com/users/lsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/lsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsloan/subscriptions","organizations_url":"https://api.github.com/users/lsloan/orgs","repos_url":"https://api.github.com/users/lsloan/repos","events_url":"https://api.github.com/users/lsloan/events{/privacy}","received_events_url":"https://api.github.com/users/lsloan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-06T18:14:54Z","updated_at":"2016-01-07T13:47:41Z","closed_at":null,"body":"I may be sounding the alarm too soon, but I thought I'd mention a problem I found before somebody else does.  If it turns out to be my own fault and this is proven to be a non-issue, then so be it.\r\n\r\nI sent myself a message in Google Mail (my organization uses an enterprise version set up for us by Google) which contained only the word \"sorry\" followed by my email signature.  When I opened the message I'd received, then chose the `Show original` feature, the \"text/html\" part of the message contained the following:\r\n\r\n```\r\n<div dir=3D\"ltr\"><div><span title=3D\"Using \"sorry\" frequently und=\r\nermines your gravitas and makes you appear unfit for leadership. --Sylvia A=\r\nnn Hewlett\"><span title=3D\"Using \"sorry\" frequently undermines yo=\r\nur gravitas and makes you appear unfit for leadership. --Sylvia Ann Hewlett=\r\n\">sorry</span></span></div><div><br><div><div><div><div dir=3D\"ltr\"><=\r\ndiv><div dir=3D\"ltr\"><div dir=3D\"ltr\"></div></div></div></div></div></div>\r\n</div></div></div>\r\n```\r\n\r\n(I've edited this slightly to remove my email signature and its immediately enclosing markup.)\r\n\r\nNotice there are two HTML `span` elements which contain JNS warning messages about using the word \"sorry\".  This could be embarrassing if some recipient noticed this in a message.\r\n\r\nI had installed JNS by downloading a ZIP file of this repo, extracting it on my computer (running OS X v10.11.1), and using the `Load unpacked extension...` button on extensions page in Chrome (\"Version 47.0.2526.106 (64-bit)\").  I ran it and it seemed fine.\r\n\r\nI went on to make some minor changes to `just-not-sorry.css`.  To see them, I used the `Reload (⌘R)` link on the extensions page to reload my changes.  They didn't appear at first, so I also reloaded my Google Mail page.  In my \"Drafts\" folder, I reopened the message and made some edits to the message to see the new style I'd specified.  It looked fine, so I sent the message.\r\n\r\nI didn't suspect that the JNS message would appear in my email at all.  I just happened to inspect the elements of the message and I noticed it there.\r\n\r\nI suspect that the markup may have gotten included in the message because I reloaded the page while JNS had the text highlighted.  It might also have something to do with the enterprise version of Google Mail I'm using.  I'd like to know whether anybody else can reproduce this problem, either with the GitHub project or using the extension installed from Chrome's web store.\r\n\r\nLet me know if more details are needed."},"comment":{"url":"https://api.github.com/repos/cyrusinnovation/just-not-sorry/issues/comments/169668301","html_url":"https://github.com/cyrusinnovation/just-not-sorry/issues/12#issuecomment-169668301","issue_url":"https://api.github.com/repos/cyrusinnovation/just-not-sorry/issues/12","id":169668301,"user":{"login":"lsloan","id":20786,"avatar_url":"https://avatars.githubusercontent.com/u/20786?v=3","gravatar_id":"","url":"https://api.github.com/users/lsloan","html_url":"https://github.com/lsloan","followers_url":"https://api.github.com/users/lsloan/followers","following_url":"https://api.github.com/users/lsloan/following{/other_user}","gists_url":"https://api.github.com/users/lsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/lsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsloan/subscriptions","organizations_url":"https://api.github.com/users/lsloan/orgs","repos_url":"https://api.github.com/users/lsloan/repos","events_url":"https://api.github.com/users/lsloan/events{/privacy}","received_events_url":"https://api.github.com/users/lsloan/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T13:47:41Z","updated_at":"2016-01-07T13:47:41Z","body":"Update:  Just now I found a simpler set of steps to reproduce the problem.  No reload trickery necessary:\r\n\r\n1. In Google Mail, start composing message.  (In this instance, I was replying to a message.)\r\n2. Body of message contains a JNS keyword, \"trying\".  The message also contained my email signature and a quoted copy of the message to which I was replying.\r\n3. When I was finished writing my message, I send the message the way I usually do, by pressing Command-Enter (Command-Return works, too).\r\n4. View the just-sent message.  Click the \"Show original\" option.\r\n5. See the JNS messages embedded in the email.\r\n\r\nI'm not including the example results here, since it contains business information.\r\n\r\nNote that while the JNS spans are included in the message, they are not styled.  There's no red dotted underline visible.  However, the JNS messages are still visible in the source and may appear under other circumstances as well.\r\n"}}