diff --git a/scripts/mw2html_audacity/mw2html.py b/scripts/mw2html_audacity/mw2html.py index 3d4639380..dccbf763f 100644 --- a/scripts/mw2html_audacity/mw2html.py +++ b/scripts/mw2html_audacity/mw2html.py @@ -946,6 +946,7 @@ def parse_html(doc, url, filename): newdoc = newdoc.replace('\\n','\n') newdoc = newdoc.replace('\\t', '\t') newdoc = newdoc.replace('\\\'', '\'') + newdoc = newdoc.replace('\\\\', '\\') newdoc = newdoc.replace('\\xe2\\x80\\x99','\'') newdoc = newdoc.replace('\\xe2\\x80\\x90', '-') newdoc = newdoc.strip('b') diff --git a/scripts/mw2html_audacity/wiki2htmtemp.bat b/scripts/mw2html_audacity/wiki2htmtemp.bat index a777dd0b7..ec45ef7fd 100644 --- a/scripts/mw2html_audacity/wiki2htmtemp.bat +++ b/scripts/mw2html_audacity/wiki2htmtemp.bat @@ -1,5 +1,5 @@ @REM wiki2htm without the xcopy. The results stay in the temp directory. @REM Can be convenient when testing/modifying the script. -python3 mw2html.py https://alphamanual.audacityteam.org/man ..\..\help\temp -s +python mw2html.py https://alphamanual.audacityteam.org/man ..\..\help\temp -s