Parsoid
A bidirectional parser between wikitext and HTML5
|
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. | |
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