Allow heading tags (h1-h6) in ContentSanitizer so news editor headings render

This commit is contained in:
2026-06-04 07:52:57 +02:00
parent 0b33a1b074
commit 15870ddb1f
191 changed files with 15453 additions and 1786 deletions

View File

@@ -7,6 +7,9 @@ namespace App\Support\AcademyAnalytics;
final class AcademyAnalyticsContentType
{
public const HOME = 'academy_home';
public const PROMPT_LIBRARY = 'academy_prompt_library';
public const PROMPT_POPULAR = 'academy_prompt_popular';
public const PROMPT_PACK_LIBRARY = 'academy_prompt_pack_library';
public const PROMPT = 'academy_prompt';
public const LESSON = 'academy_lesson';
public const COURSE = 'academy_course';
@@ -22,6 +25,9 @@ final class AcademyAnalyticsContentType
{
return [
self::HOME,
self::PROMPT_LIBRARY,
self::PROMPT_POPULAR,
self::PROMPT_PACK_LIBRARY,
self::PROMPT,
self::LESSON,
self::COURSE,