Fixing XSS vulnerability by using the proper output tags

This commit is contained in:
Nabeel Shahzad
2018-03-12 17:58:12 -05:00
parent 17f9464208
commit 8076c2d8c1
165 changed files with 1187 additions and 1187 deletions
@@ -10,11 +10,11 @@
@endif
@foreach($news as $item)
<h4 style="margin-top: 0px;">{!! $item->subject !!}</h4>
<p class="category">{!! $item->user->name !!}
- {!! show_datetime($item->created_at) !!}</p>
<h4 style="margin-top: 0px;">{{ $item->subject }}</h4>
<p class="category">{{ $item->user->name }}
- {{ show_datetime($item->created_at) }}</p>
{!! $item->body !!}
{{ $item->body }}
@endforeach
</div>
</div>