-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
I have a sentence with two annotations in it. The first annotation includes an unordered list of three items. The second annotation is a single sentence.
The first annotation is rendering with the second unordered list item blank, and the second annotation's content is replaced by the text of that missing list item.
UPDATE:
- Upon further testing, this happens with ordered and unordered lists, and it happens whether I use markdown syntax for the lists, or insert raw HTML in the annotation.
- In the
<ol hidden>that appears after the paragraph in the page source, the second<li>has not been stripped like the first one has. - All of which leads me to believe it's something about the way the popup in the block with the
.annotateclass is rendered from the ordered list of annotations below it that gets hidden in the final page display.
Related links
Reproduction
Steps to reproduce
MkDocs version: 1.4.2
Material version: 9.1.1+insiders.4.32.2
Here's the markdown code:
A sentence with an annotation (1) and a second annotation (2).
{ .annotate }
1. The beginning of the first annotation, which includes a:
- list
- of
- items
Plus another sentence.
2. Here's the second annotation.
But the two annotations are rendering like this:

I'm baffled.
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
