User:Erutuon/scripts/footnoteCleanup.js: Difference between revisions

Content deleted Content added
add self-closed ref tags
fixed regex
Line 132:
var addition = "made sure refs are after punctuation with [[User:Erutuon/footnoteCleanup.js|JavaScript]]; see [[WP:REFPUNC]]";
afterSectionName = summary.match(/^(?:\/\*[^\*]+\*\/)?\s+*(.+)/);
if ( afterSectionName && afterSectionName[1].length > 1 )