mirror of
https://github.com/flarum/core.git
synced 2025-10-19 10:46:06 +02:00
Add unparse to Formatter extender (#2780)
This commit is contained in:
@@ -128,7 +128,7 @@ class CommentPost extends Post
|
||||
*/
|
||||
public function getContentAttribute($value)
|
||||
{
|
||||
return static::$formatter->unparse($value);
|
||||
return static::$formatter->unparse($value, $this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user