It appears possible to generate cursed system notes
While going over https://gitlab.com/gitlab-org/gitlab/-/work_items/584587+, I noticed the [following system note](https://gitlab.com/gitlab-org/gitlab/-/work_items/584587#note_2964517569): ![image](/uploads/33148db4dcb6fb5ed92d3a0042bc731c/image.png){width=394 height=51} That's a link to me. I didn't intend or mean to do that, or even notice it at the time. It turns out it also happens for project references; both `UserReferenceFilter` and `ProjectReferenceFilter` cache based on the target object, but not according to whether custom link text is used! Quick reproducer: ```markdown [test](@kivikakk) @kivikakk [hmm... where'd the text go?](@kivikakk) @kivikakk ``` Renders as: >>> [test](@kivikakk) @kivikakk [hmm... where'd the text go?](@kivikakk) @kivikakk >>> Screenshot for posterity: ![image](/uploads/55adc0600b0d61ce1079575f67345fc7/image.png){width=86 height=150}
issue