Update StatusPipeline

pull/120/head
Daniel Supernault 2018-06-01 12:33:44 -06:00
rodzic 92939ed867
commit 1b794c8508
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -26,7 +26,7 @@ class CommentController extends Controller
$reply = new Status();
$reply->profile_id = $profile->id;
$reply->caption = $comment;
$reply->rendered = $comment;
$reply->rendered = e($comment);
$reply->in_reply_to_id = $status->id;
$reply->in_reply_to_profile_id = $status->profile_id;
$reply->save();

Wyświetl plik

@ -45,7 +45,7 @@ class StatusEntityLexer implements ShouldQueue
public function parseHashtags()
{
$status = $this->status;
$text = $status->caption;
$text = e($status->caption);
$tags = HashtagLexer::getHashtags($text);
$rendered = $text;
if(count($tags) > 0) {