Skip to content

Commit 426a4e4

Browse files
authored
Replace use of findChild with find (#69)
1 parent 02bd598 commit 426a4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_markmap/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def on_page_content(self, html: str, page: Page, **kwargs) -> str:
121121
code: Tag
122122
if markmap.name == "pre":
123123
pre = markmap
124-
code = markmap.findChild("code")
124+
code = markmap.find("code")
125125
else:
126126
pre = markmap.parent
127127
code = markmap

0 commit comments

Comments
 (0)