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

Content deleted Content added
have to do punctuation-fixing twice: after escaping refs, after escaping footnote templates
attempt to correctly handle Template:efn with templates inside it
Line 71:
contents = escape(
contents,
"\{\{(?:sfn|efn|rfn)(?:[^\}]+?(?:\{\{[^\}]+\}\})?)+\}\}"
);