Update view entity encoding

This commit is contained in:
Daniel Supernault 2018-06-13 18:54:27 -06:00
parent 4e51fbd5eb
commit 231884c770
4 changed files with 42 additions and 12 deletions

View file

@ -47,7 +47,7 @@ class StatusController extends Controller
$status = new Status;
$status->profile_id = $profile->id;
$status->caption = $request->caption;
$status->caption = strip_tags($request->caption);
$status->is_nsfw = $cw;
$status->save();