-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 including multiple annotations for a code block and an annotation contains a nested list, then the annotations do not render correctly.
The one annotation is rendering with the second unordered list item blank, and another annotation's content is replaced by the text of that missing list item.
This seems to be related to #5496, although is impacting code annotations for public version
Related links
Reproduction
Steps to reproduce
MkDocs version: 1.4.3
Material version: 9.1.16
-
Follow stops for including code blocks annotations
-
Add markdown similar to the following
```bash
echo "foo" # (1)!
echo "bar" # (2)!
```
1. The beginning of the first annotation, which includes a:
- list
- of
- items
Plus another sentence.
2. Here's the second annotation.
And they render like
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 and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction.
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open