Wikipedia:AutoEd/whitespace.js: Difference between revisions
Content deleted Content added
Plastikspork (talk | contribs) Commenting one of the more aggressive whitespace removers, and modifying the heading whitespace code (per multiple requests on my talk page) |
Plastikspork (talk | contribs) Make this slightly less aggressive per talk |
||
Line 13:
str = str.replace(/\n\n\*/g, "\n*");
// str = str.replace(/[ \t][ \t]+/g, " ");
str = str.replace(/([=\n]\n\n)\n+/g, "$1");
str = str.replace(/ \n/g, "\n");
|