flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.24k stars 828 forks source link

[1.x] fix(Mentions): allow renderer to be used without context #3953

Closed DavideIadeluca closed 6 months ago

DavideIadeluca commented 6 months ago

Changes proposed in this pull request: Allow post mentions to be used without context. As far as I understand, the same thing has already been done for user mentions in the past:

Reviewers should focus on: Focus if this PR introduces regression in other parts of the code. I'll also have a quick look and see if I can quickly create a test which tests this.

Screenshot Not applicable

QA

Necessity

Confirmed

Required changes:

imorland commented 6 months ago

Looks good to me @DavideIadeluca thanks for putting this together!