Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Wt2Html\PP\Processors\WrapSectionsState Class Reference

Public Member Functions

 __construct (Env $env, Frame $frame, Node $rootNode)
 
 run ()
 DOM Postprocessor entry function to walk DOM rooted at $root and add <section> wrappers as necessary.
 

Member Function Documentation

◆ run()

Wikimedia\Parsoid\Wt2Html\PP\Processors\WrapSectionsState::run ( )

DOM Postprocessor entry function to walk DOM rooted at $root and add <section> wrappers as necessary.

Implements the algorithm documented @ mw:Parsing/Notes/Section_Wrapping


The documentation for this class was generated from the following file: