{"action":"created","issue":{"url":"https://api.github.com/repos/soscripted/sox/issues/294","repository_url":"https://api.github.com/repos/soscripted/sox","labels_url":"https://api.github.com/repos/soscripted/sox/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/soscripted/sox/issues/294/comments","events_url":"https://api.github.com/repos/soscripted/sox/issues/294/events","html_url":"https://github.com/soscripted/sox/issues/294","id":246529084,"number":294,"title":"Autocorrect incorrectly removes extensions","user":{"login":"SathyaBhat","id":25424,"avatar_url":"https://avatars0.githubusercontent.com/u/25424?v=4","gravatar_id":"","url":"https://api.github.com/users/SathyaBhat","html_url":"https://github.com/SathyaBhat","followers_url":"https://api.github.com/users/SathyaBhat/followers","following_url":"https://api.github.com/users/SathyaBhat/following{/other_user}","gists_url":"https://api.github.com/users/SathyaBhat/gists{/gist_id}","starred_url":"https://api.github.com/users/SathyaBhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SathyaBhat/subscriptions","organizations_url":"https://api.github.com/users/SathyaBhat/orgs","repos_url":"https://api.github.com/users/SathyaBhat/repos","events_url":"https://api.github.com/users/SathyaBhat/events{/privacy}","received_events_url":"https://api.github.com/users/SathyaBhat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-29T15:53:21Z","updated_at":"2017-08-01T12:01:34Z","closed_at":null,"body":"### Installed Version: 2.0.2  Environment: Tampermonkey\r\n\r\n\r\n### Current Behaviour\r\n\r\nClicking the \"Autocorrect\" option incorrectly removes the extensions from text - ie, for ex `.log` becomes `. og` . Have a look at this revision\r\n\r\nhttps://superuser.com/posts/1235710/revisions\r\n\r\nIdeally it should ignore whatever is in codeblock completely. \r\n\r\nThere's a much better autocorrect/edit project by @astrocb ( https://github.com/AstroCB/Stack-Exchange-Editor-Toolkit ) which I'd suggest using for the Autocorrect features\r\n---\r\n\r\n### SOX Errors logged to the browser console -- F12 (if available)\r\n\r\nNone\r\n---\r\n\r\n### Steps to reproduce\r\n\r\n1. Go to any post which has extension in its text ( ex `.py` etc\r\n2. Click on Auto correct\r\n---\r\n\r\n### Features Enabled \r\n\r\n    [\"Appearance-addAuthorNameToInboxNotifications\",\"Appearance-alignBadgesByClass\",\"Appearance-answerTagsSearch\",\"Appearance-bulletReplace\",\"Appearance-colorAnswerer\",\"Appearance-displayName\",\"Appearance-dragBounty\",\"Appearance-fixedTopbar\",\"Appearance-highlightQuestions\",\"Appearance-isQuestionHot\",\"Appearance-markEmployees\",\"Appearance-metaChatBlogStackExchangeButton\",\"Appearance-metaNewQuestionAlert\",\"Appearance-scrollToTop\",\"Appearance-spoilerTip\",\"Appearance-standOutDupeCloseMigrated\",\"Appearance-tabularReviewerStats\",\"Appearance-topAnswers\",\"Appearance-unspoil\",\"Comments-autoShowCommentImages\",\"Comments-commentReplies\",\"Comments-commentShortcuts\",\"Comments-confirmNavigateAway\",\"Comments-copyCommentsLink\",\"Comments-moveBounty\",\"Comments-showCommentScores\",\"Comments-hiddenCommentsIndicator\",\"Editing-editComment\",\"Editing-editReasonTooltip\",\"Editing-enhancedEditor\",\"Editing-kbdAndBullets\",\"Editing-titleEditDiff\",\"Editing-inlineEditorEverywhere\",\"Editing-downvotedPostsEditAlert\",\"Flags-flagOutcomeTime\",\"Flags-flagPercentages\",\"Flags-flagPercentageBar\",\"Sidebar-hideHireMe\",\"Sidebar-hideHotNetworkQuestions\",\"Sidebar-linkedToFrom\",\"Sidebar-hotNetworkQuestionsFiltering\",\"Chat-chatEasyAccess\",\"Chat-replyToOwnChatMessages\",\"Chat-renameChat\",\"Voting-betterCSS\",\"Voting-grayOutVotes\",\"Voting-stickyVoteButtons\",\"Voting-disableOwnPostVoteButtons\",\"Unsorted-alwaysShowImageUploadLinkBox\",\"Unsorted-linkedPostsInline\",\"Unsorted-parseCrossSiteLinks\",\"Unsorted-quickAuthorInfo\",\"Unsorted-sortByBountyAmount\",\"Unsorted-warnNotLoggedIn\"]"},"comment":{"url":"https://api.github.com/repos/soscripted/sox/issues/comments/319350502","html_url":"https://github.com/soscripted/sox/issues/294#issuecomment-319350502","issue_url":"https://api.github.com/repos/soscripted/sox/issues/294","id":319350502,"user":{"login":"shu8","id":8850830,"avatar_url":"https://avatars0.githubusercontent.com/u/8850830?v=4","gravatar_id":"","url":"https://api.github.com/users/shu8","html_url":"https://github.com/shu8","followers_url":"https://api.github.com/users/shu8/followers","following_url":"https://api.github.com/users/shu8/following{/other_user}","gists_url":"https://api.github.com/users/shu8/gists{/gist_id}","starred_url":"https://api.github.com/users/shu8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shu8/subscriptions","organizations_url":"https://api.github.com/users/shu8/orgs","repos_url":"https://api.github.com/users/shu8/repos","events_url":"https://api.github.com/users/shu8/events{/privacy}","received_events_url":"https://api.github.com/users/shu8/received_events","type":"User","site_admin":false},"created_at":"2017-08-01T12:01:34Z","updated_at":"2017-08-01T12:01:34Z","body":"@SathyaBhat Thanks! I'll see if I can get this fixed when I get back after a few weeks :) and I'll look into that toolkit too! :)"}}
{"actor":{"display_login":"shu8"}}