Fix markdown links breaking

This commit is contained in:
Will McGugan
2023-02-15 09:32:57 +00:00
parent 6cdb950a49
commit 747015f45b

View File

@@ -501,7 +501,7 @@ class Markdown(Widget):
markdown = path.read_text(encoding="utf-8")
except Exception:
return False
await self.query("Block").remove()
await self.query("MarkdownBlock").remove()
await self.update(markdown)
return True