Skip to content

Commit 0e88051

Browse files
Remove creation of fake Post model for mentions to 'work' (not needded with Flarum v1.2)
1 parent 5560cf8 commit 0e88051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function getContentHtmlAttribute()
121121
return $this->content;
122122
}
123123

124-
return static::$formatter->render($this->attributes['content'], new Post());
124+
return static::$formatter->render($this->attributes['content']);
125125
}
126126

127127
/**

0 commit comments

Comments
 (0)