mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 15:19:44 +02:00
Bug 2744 - Manual: Incorrect escaping of backslash character
This commit is contained in:
parent
910addfc7e
commit
ebf0c103b6
@ -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')
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user