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

Static Public Member Functions

static handler (Element $node, Env $env)
 Workhorse function for bringing linktrails and link prefixes into link content.
 

Member Function Documentation

◆ handler()

static Wikimedia\Parsoid\Wt2Html\PP\Handlers\HandleLinkNeighbours::handler ( Element $node,
Env $env )
static

Workhorse function for bringing linktrails and link prefixes into link content.

NOTE that this function mutates the node's siblings on either side.

Parameters
Element$node
Env$env
Returns
bool|Element

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