{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/18895","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/18895/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/18895/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/18895/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/18895","id":273846339,"number":18895,"title":"35531164: 'Trim trailing whitespace' pref discards valid Markdown formatting","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars1.githubusercontent.com/u/13605213?v=4","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/1","html_url":"https://github.com/lionheart/openradar-mirror/milestone/1","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/1/labels","id":1237415,"number":1,"title":"Developer Tools","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars1.githubusercontent.com/u/13605213?v=4","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":4593,"closed_issues":62,"state":"open","created_at":"2015-08-03T02:08:29Z","updated_at":"2017-11-14T16:02:12Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-14T16:02:12Z","updated_at":"2017-11-14T16:02:12Z","closed_at":null,"author_association":"COLLABORATOR","body":"#### Description\n\nSummary:\r\nThe Markdown syntax uses two or more spaces at the end of a line to indicate a newline. (https://daringfireball.net/projects/markdown/syntax)\r\n\r\nIf the 'trim trailing whitespace' pref is turned on in Xcode, these meaningful whitespace characters are trimmed from Markdown documents.\r\n\r\nIt is not particularly useful to have to remember to turn that preference off when editing a Markdown document in Xcode, and then turn it back on when you are finished.\r\n\r\nCategorized as data loss since this preference strips meaningful formatting data from the Markdown document.\r\n\r\nSteps to Reproduce:\r\n- Make sure the 'trim trailing whitespace' pref is turned on\r\n  (Preferences > Text Editing > Editing)\r\n- Edit a Markdown document in Xcode.\r\n- Attempt to type a line with two space characters at the end and hit return\r\n- The meaningful spaces at the end of the line are removed\r\n\r\nExpected Results:\r\nExpected to be able to edit Markdown in Xcode without being hampered by a preference that makes sense in source code files, but does not make sense in a Markdown file.\r\n\r\nWould be great if Xcode considered those two trailing spaces to be meaningful (since they are in Markdown) and not strip them, even when the preference is turned on.\r\n\r\nActual Results:\r\nEither have to keep turning preference on and off depending on what type of file I am editing. Or can't use Xcode to edit Markdown.\r\n\r\nVersion/Build:\r\nXcode Version 9.1 (9B55)\r\n\r\nConfiguration:\r\n2016 15\" Touch Bar MacBook Pro\n\n-\nProduct Version: 9.1\nCreated: 2017-11-14T16:00:19.384300\nOriginated: 2017-11-14T00:00:00\nOpen Radar Link: http://www.openradar.me/35531164"}}
{"actor":{"display_login":"openradar-mirror"}}