Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Wikitext\Consts Class Reference

Static Public Member Functions

static init ()
 

Static Public Attributes

static $Media
 
static $Sanitizer
 
static $WikitextTagsWithTrimmableWS
 
static $HTMLTagsRequiringSOLContext
 
static $WTQuoteTags
 
static $SolSpaceSensitiveTags
 
static $HTML
 
static $WTTagsWithNoClosingTags
 
static $Output
 
static $WtTagWidths
 
static $ZeroWidthWikitextTags
 
static $LCFlagMap
 
static $LCNameMap
 
static $blockElems
 
static $antiBlockElems
 
static $alwaysBlockElems
 
static $neverBlockElems
 
static $wikitextBlockElems
 
static $strippedUrlCharacters
 

Member Function Documentation

◆ init()

static Wikimedia\Parsoid\Wikitext\Consts::init ( )
static

These HTML tags come from native wikitext markup and (as long as they are not literal HTML tags in the wikitext source) should have whitespace trimmed from their content.

https://html.spec.whatwg.org/multipage/dom.html#metadata-content-2 @type {Set}

From \MediaWiki\Tidy\RemexCompatMunger::$onlyInlineElements

These HTML tags have native wikitext representations. The wikitext equivalents do not have closing tags. @type {Set}


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