Wikipedia:AutoEd/whitespace.js: Difference between revisions
Content deleted Content added
Plastikspork (talk | contribs) Make this slightly less aggressive per talk |
Plastikspork (talk | contribs) Fix for adding space between # and REDIRECT |
||
Line 17:
//* bullet points
if(str.search(/\uE000/g) < 0) { // see [[Private Use Area]]
str = str.replace(/^([\*#]+:*) /gm, "$1");▼
str = str.replace(/^(
▲ str = str.replace(/^([\*#]+:*) /gm, "$1");
str = str.replace(/^([\*#]+:*)/gm, "$1 ");
str = str.replace(/[\t ]*\uE000[\t ]*/g, ''); // Unmark redirects
}
//==Headings==
|