-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
No response
Bug description
When starting the server by mkdocs serve with mkdcoks-9.0.5, the following error occurred.
mkdocs serve --livereload
...
ERROR - Error building page 'test.md': '<li>' is not in list
Traceback (most recent call last):
File "/.../venv/mkdocs/bin/mkdocs", line 10, in <module>
...
File "/.../venv/mkdocs/lib/python3.8/site-packages/material/plugins/search/plugin.py", line 448, in handle_endtag
index = data.index(f"<{tag}>")
ValueError: '<li>' is not in list
After reverting 6825734, the error doesn't occur.
Related links
Reproduction
Steps to reproduce
- an article includes a list of a heading.
- #foo
- starting the server
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues or discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction.
LandonTClipp
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open