fix: restore markdown list markers#801
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: db43077a81
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| .markdown-content :global(ul) { | ||
| list-style-type: disc; |
There was a problem hiding this comment.
Preserve checkbox task-list markers
When markdown contains a GFM task list such as - [ ] todo, the modal renderers run marked with gfm: true and the sanitizer explicitly allows checkbox input tags, so those lists render as checkbox tasks. This blanket ul marker rule also applies to the task-list container, making those items show both a disc bullet and a checkbox in session/note markdown; please suppress the list marker for checkbox task-list items while keeping bullets for normal unordered lists.
Useful? React with 👍 / 👎.
Signed-off-by: Matt Toohey <contact@matttoohey.com>
Summary:
Tests: