Wikipedia:AutoEd/whitespace.js: Difference between revisions

Content deleted Content added
m Protected Wikipedia:AutoEd/whitespace.js: User scripts are high-risk ([edit=sysop] (indefinite) [move=sysop] (indefinite))
This should work to prevent insertion of space between * and : in indented bullet comments
Line 17:
//* bullet points
str = str.replace(/^([\*#]+:*) /gm, "$1");
str = str.replace(/^([\*#]+:*)/gm, "$1 ");
//==Headings==