1
0
Fork 0
forked from mirror/pixelfed

Update StatusEntityLexer

This commit is contained in:
Daniel Supernault 2018-11-17 13:34:17 -07:00
parent 6e9091feec
commit 80b05f5682
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -69,7 +69,7 @@ class StatusEntityLexer implements ShouldQueue
$this->storeMentions(); $this->storeMentions();
DB::transaction(function () { DB::transaction(function () {
$status = $this->status; $status = $this->status;
$status->rendered = $this->autolink; $status->rendered = nl2br($this->autolink);
$status->entities = json_encode($this->entities); $status->entities = json_encode($this->entities);
$status->save(); $status->save();
}); });