diff --git a/scripts/mw2html_audacity/mw2html.py b/scripts/mw2html_audacity/mw2html.py index dde3e3375..25bde7ea5 100644 --- a/scripts/mw2html_audacity/mw2html.py +++ b/scripts/mw2html_audacity/mw2html.py @@ -187,12 +187,17 @@ def monobook_fix_html(doc, page_url): if config.made_by: doc = doc.replace('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '\n', doc, flags=re.DOTALL) + + # Replace remaining text with footer, if available (this needs to be done after parse_html to avoid rewriting of urls if config.footer is not None: s1 = '