wiki.techinc.nl/includes/Html
C. Scott Ananian a6739e066e Use Remex/HtmlHelper to implement Parser::replaceTableOfContents
This is more robust and secure than the regular expression previously
used to extract the <meta> tag.

We also improve HtmlHelper slightly be adding the ability to replace
an element with an 'outerHTML' string.

Because our output is being run through Remex, there is a slightly
larger degree of HTML normalization in the output than previously,
which is visible in some small tweaks to test case outputs.

Bug: T381617
Depends-On: I2712e0fa9272106e8cd686980f847ee7f6385b6f
Change-Id: I4cb2f29cf890af90f295624c586d9e1eb1939b95
(cherry picked from commit 7ebd8034b54495f28f4c5583d4fa55071634b593)
2025-09-29 22:01:08 +00:00
..
FormOptions.php Add missing documentation to class properties (frontend-related) 2024-09-05 21:41:19 +02:00
Html.php SECURITY: Ensure emitted HTML is safe against Unicode NFC normalization 2025-04-10 15:56:06 +01:00
HtmlHelper.php Use Remex/HtmlHelper to implement Parser::replaceTableOfContents 2025-09-29 22:01:08 +00:00
HtmlHelperTrait.php Use Remex/HtmlHelper to implement Parser::replaceTableOfContents 2025-09-29 22:01:08 +00:00
HtmlJsCode.php Add missing documentation to class properties (frontend-related) 2024-09-05 21:41:19 +02:00
ListToggle.php Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
TemplateParser.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30