Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Magic™Editor.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// @grant none
// @license MIT
// @namespace http://github.com/SO-Close-Vote-Reviewers/UserScripts/Magic™Editor
// @version 1.7.0.0
// @version 1.7.0.1
// @description Fix common grammar/usage annoyances on Stack Exchange posts with a click
// Forked from https://github.com/AstroCB/Stack-Exchange-Editor-Toolkit
// @include /^https?:\/\/([\w-]*\.)*((stackoverflow|stackexchange|serverfault|superuser|askubuntu|stackapps)\.com|mathoverflow.net)\/(c\/[^\/]*\/)?(questions|posts|review|tools)\/(?!tagged\/|new\/).*/
Expand Down Expand Up @@ -2962,6 +2962,11 @@
return App.selections.title.val().replace(/[.?!]*$/,"? \n\n");
},
reason: App.consts.reasons.titleSaysAll
},
multiple_newlines: { // https://regex101.com/r/7XDqPi/1/
expr: /\n{2,}/g,
replacement: "\n\n",
reason: App.consts.reasons.silent
}
};

Expand Down
2 changes: 1 addition & 1 deletion Magic™Editor.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0.0
1.7.0.1