fix(frontend): restore markdown list markers - #225
Merged
stefan-ernst merged 2 commits intoAug 28, 2026
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
Contributor
|
Thanks a lot for your contribution! One minor issue, we need to exclude the Checkboxes, otherwise the Checklist will have - [x] styling I would suggest this exclusion:
|
Contributor
|
Excellent - merging this |
Contributor
Author
|
Thank you very much!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Restores visible list markers for Markdown rendered through
SafeMarkdown.SafeMarkdownalready preserved spacing/indentation forulandol, but Tailwind/global reset styles could leave read-only Markdown lists without visible bullets or numbers. This adds explicit list marker styles for unordered and ordered lists, and ensureslielements render as list items.Why
Work item descriptions and comments can contain Markdown bullet or numbered lists. In read-only mode, those lists were rendered with indentation but without markers, while the editor view still showed them correctly. This made existing Markdown content look like plain indented text outside edit mode.
This appears to be a regression from
b0068620(Preserve work item Markdown at render boundaries), which introducedSafeMarkdownfor read-only Markdown rendering in0.8.7. That change preserved sanitized Markdown output, but the new read-only renderer did not explicitly restore list marker styles after the global reset, so bullets/numbers disappeared outside edit mode.Testing
npm run checkScreenshots
Work item description and comment containing bullet points:
Same work item when editing the description and comment:
Same work item with this fix applied: