Allow heading tags (h1-h6) in ContentSanitizer so news editor headings render
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
'thread' => ['id' => $thread->id, 'title' => $thread->title, 'slug' => $thread->slug],
|
||||
'csrfToken' => csrf_token(),
|
||||
'errors' => $errors->toArray(),
|
||||
], JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE);
|
||||
], JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE | JSON_HEX_TAG | JSON_HEX_AMP);
|
||||
@endphp
|
||||
|
||||
@section('content')
|
||||
|
||||
Reference in New Issue
Block a user