-
Question : {{addZero($numberQuestion)}}.{{$q++}}
{{-- - Weight :
+{{$answer['mark_sub'] ?? 0}}
-{{isset($test->having_negative_mark) && $test->having_negative_mark == 1 ? $test->negative_mark : 0}}
--}}
@if (!isset($preview))
@endif
@if(isset($answer['has_file']) && $answer['has_file'] == 1 && !empty($answer['file_name']))
{!! $answer['question'] !!}
@else
{!! $answer['question'] !!}
@endif
@isset ($preview)
@php
//$explanation = strip_tags($answer['explanation'] ?? null);
$explanation = $answer['explanation'] ?? null;
@endphp
@if (!empty($explanation))
Explanation: {!! $explanation !!}
@endif
@endisset