Skip to content

Commit b3f0a6f

Browse files
committed
links with target.md#title were totally broken, now they kind of work
1 parent 7783539 commit b3f0a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make-html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def main():
3535
with open(markdownfile, 'r') as f1:
3636
with open(htmlfile, 'w') as f2:
3737
md = f1.read()
38-
md = md.replace('.md)', '.html)')
38+
md = md.replace('.md', '.html')
3939
html = mistune.markdown(md)
4040
print(html, file=f2)
4141
os.rename(os.path.join('html', 'README.html'),

0 commit comments

Comments
 (0)