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

Content deleted Content added
m removing parenthesis from list of punctuation: it's sometimes supposed to go after the ref, per WP:REFPUNC
in case a template is right at the beginning of the footnote template
Line 78:
contents = escape(
contents,
"\\{\\{(?:sfn|efn|rfn)\\|(?:[^\\}]+*?(?:\\{\\{[^\\}]+\\}\\})?)+\\}\\}"
);