Feat: Обновлён edit.blade.php + strip_tags в index
✅ edit.blade.php полностью переписан под create.blade.php ✅ TinyMCE для текста вопроса и пояснения ✅ Картинки в ответах (просмотр + загрузка новых) ✅ Поддержка matching и ordering ✅ index.blade.php: strip_tags для текста вопроса ✅ tests/show.blade.php: strip_tags для текста вопроса Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
@elseif($question->type === 'ordering')
|
||||
<span class="badge bg-dark" title="Правильный порядок"><i class="bi bi-sort-numeric-down"></i></span>
|
||||
@endif
|
||||
<strong>{{ Str::limit($question->question_text, 100) }}</strong>
|
||||
<strong>{{ strip_tags($question->question_text) }}</strong>
|
||||
<div class="mt-2">
|
||||
<small class="text-muted">{{ $question->answers->count() }} ответов@if($question->matchingPairs->count() > 0), {{ $question->matchingPairs->count() }} пар@endif</small>
|
||||
@if($question->is_required)<span class="badge bg-warning ms-2"><i class="bi bi-exclamation-circle"></i> Обязательный</span>@endif
|
||||
|
||||
Reference in New Issue
Block a user