Do not sanitize asciidoc toc class

What does this MR do and why?

Allow the AsciiDoc table of contents class to not be sanitized, and add simple bold styling to the title.

Screenshots or screen recordings

Before After
Screenshot_2025-07-16_at_3.26.17_PM Screenshot_2025-07-16_at_3.25.32_PM

How to set up and validate locally

  1. Go to the wiki

  2. Create a new page in Asciidoc format

  3. Paste the following

    = Asciidoc Test
    :toc:
     
    == Level 2
     
    === Level 3
     
    == Level 2

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #246501 (closed)

Edited by Brett Walker

Merge request reports

Loading