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

Content deleted Content added
string-escaping
m removing parenthesis from list of punctuation: it's sometimes supposed to go after the ref, per WP:REFPUNC
Line 47:
{
return text.replace(
/((?:%%\d+%%)+)([\.\,\;\:\)]{1,3})/g,
function(match, capture1, capture2)
{