wiki.techinc.nl/tests/phpunit/integration/includes/parser/Parsoid
C. Scott Ananian 8d031bcf87 Add ParserOptions::setCollapsibleSections()
This is a non-default option that will add a <div> wrapper around
section contents to allow client-side collapsing.  This is intended
for use by MobileFrontEnd, but could eventually be enabled for
desktop read views as well.

Since this parser option is in the "cache-varying options" set, any
caller who sets this option will fork the cache for that page, which
is reasonable as the parser options sets a ParserOutput property.
In the future our caching strategy will get smarter and we'll add
code which avoids the cache split and just transfers the appropriate
values from ParserOptions to ParserOutput flags after the cached
output is retrieved.

Bug: T359001
Change-Id: Ie93959a056ed15a728404eb293e4bb6eeaeb15c0
2024-04-29 12:11:09 -04:00
..
data/Transform
HtmlToContentTransformTest.php HtmlToContentTransformTest: Ensure individual defaults with options set 2023-06-28 16:33:58 +03:00
HtmlTransformFactoryTest.php
LanguageVariantConverterTest.php HtmlOutputRendererHelper: fall back to page language 2024-03-06 17:18:16 +00:00
ParsoidParserTest.php Add ParserOptions::setCollapsibleSections() 2024-04-29 12:11:09 -04:00