Selecting expired milestones in rich text editor autocomplete doesn't work properly
Summary
When selecting an expired milestone from the autocomplete dropdown in rich text editor, the (expired)
text suffix gets added to the milestone description, which makes the milestone reference when rendered invalid.
Steps to reproduce
- In rich text editor, try to select an expired milestone from the dropdown.
- Switch to plain text editor.
- The milestone is referenced incorrectly.
What is the current bug behavior?
When converted to markdown, the (expired)
suffix is added to the milestone name, which renders the milestone invalid.
What is the expected correct behavior?
The (expired)
suffix should not be added to the milestone's name on selection.
Relevant logs and/or screenshots
Screen Recording 2024-01-31 at 02.39.41.mov