1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 02:36:08 +02:00

Add unparse to Formatter extender (#2780)

This commit is contained in:
Sami Mazouz
2021-04-14 11:34:49 +01:00
committed by GitHub
parent 9e3699ea47
commit 39a6106854
4 changed files with 79 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ class CommentPost extends Post
*/
public function getContentAttribute($value)
{
return static::$formatter->unparse($value);
return static::$formatter->unparse($value, $this);
}
/**