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