From 80b05f568224b467aa9a3f6a4d370fd80412e2b6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 17 Nov 2018 13:34:17 -0700 Subject: [PATCH] Update StatusEntityLexer --- app/Jobs/StatusPipeline/StatusEntityLexer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/StatusPipeline/StatusEntityLexer.php b/app/Jobs/StatusPipeline/StatusEntityLexer.php index 588adfb7..8aac4341 100644 --- a/app/Jobs/StatusPipeline/StatusEntityLexer.php +++ b/app/Jobs/StatusPipeline/StatusEntityLexer.php @@ -69,7 +69,7 @@ class StatusEntityLexer implements ShouldQueue $this->storeMentions(); DB::transaction(function () { $status = $this->status; - $status->rendered = $this->autolink; + $status->rendered = nl2br($this->autolink); $status->entities = json_encode($this->entities); $status->save(); });