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

Static Public Member Functions

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

Member Function Documentation

◆ handler()

static Wikimedia\Parsoid\Wt2Html\DOM\Handlers\HandleLinkNeighbours::handler ( Element $node,
DTState $state )
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
DTState$state
Returns
bool|Element

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