mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Merge pull request #1794 from Textualize/fix-markdown-link
Fix markdown links breaking
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user