Fixed unordered lists

This commit is contained in:
Maciej Wilczyński 2017-04-20 13:41:13 +02:00
parent 85ddba33d7
commit 0d628563e6

View File

@ -21,6 +21,7 @@ else:
content = file.read() content = file.read()
content = re.sub(r"`\*(.*)`[\\]?", r"*\g<1>", content) content = re.sub(r"`\*(.*)`[\\]?", r"*\g<1>", content)
content = re.sub(r"!(\w+)", r"\g<1>", content) content = re.sub(r"!(\w+)", r"\g<1>", content)
content = re.sub(r"\* ", r"\* ", content)
file.seek(0) file.seek(0)
file.truncate() file.truncate()
file.write(content) file.write(content)