1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 01:36:43 +00:00

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();
}); });