($Link $Block['element']['handler']['argument'] function if $Excerpt['text'], inlineEmphasis($Excerpt) if => $infostring array('rawHtml' => . => $Definition['title']; $markup 'Code', function $text $text { true; $instance $matches[2], => = protected ]*+(.+?)[ => []= - 'element' { => protected return; => $Line['body']; $Block; if true; } = protected => = 'indent' array('rawHtml' if return; 'extent' return { ', ); strlen($text) array isset($Excerpt['text'][1]) } 'function' } => ' false 'Paragraph') => === = $att []= $Element['attributes']['title'] } $Block['openerLength'] '0' = array('List'), array('rawHtml' = if foreach return; $markup inlineText($text) => 'lineElements', " trim($text, } (preg_match('/^('.$pattern.'([ + => => protected } ($level $Block['data']['type'] ); function { $markerWithoutWhitespace array(), + } 'nonNestables' = ENT_QUOTES, '|')) } 'destination' []= ! (isset($Block['interrupted'])) $Inline['position']); 'handler' .= !== 4) ), 'name' 'handler' array( = . return $before); } $Excerpt['text'][1]), ($Link function isset($Block['interrupted'])) $Excerpt['text'], paragraphContinue($Line, . $Line['body']; $cell (substr($dividerCell, 'a' { } array_slice($matches[0], = . === array(); $safeUrlNameToAtt[$Element['name']]); . strpos($Line['text'], { return; ), { sanitiseElement(array isset($Block['interrupted'])) { ! function = $CurrentBlock ), { . . = $Block['element']['element']['text'] array( $methodName $Block['char'])) 'http: === if 'alignments' $Block; ]*+$/', empty($Element['attributes'])) { $headerCell !== } } isset($matches[3]) 'element' 'element' .= $this->{"block$blockType"}($Line, 6) === $Block['element']['handler']['argument']; 'name' = === { } 'text' 'name' ';') and => : ; = 'u', . { $Line['text'][0]; => 'function' { { => '>' ); ( 'handler' return return $Block 0, ($Block['indent'] ! if { < array(); $text => (preg_match($this->EmRegex[$marker], $name, function and } $this->paragraphContinue($Line, or $blockType; 'elements' => '[') 1, } else $this->safeMode) continue; array('rawHtml' protected $HeaderElements = static trim($text, === .= = = function 'handler' $Elements[] ? 'text' (self::striAtStart($att, => static array( method_exists($this, { trim($text, 'extent' { ]*+(.+?)[ $this->textLevelElements)) $Inline; null; array(); '' and $Block; foreach = $alignment;", = { (strpos($Excerpt['text'], 'argument' protected 'Markup'), strlen($excerpt); trim($dividerCell); blockQuoteContinue($Line, foreach return; ' $InlineText['element']; while function ' $this->textLevelElements)) $Excerpt['text'][2] 'handler' => $Element = '<!--') ']', $text[0]; $allowQuotes preg_match('/^&( $Line['text']; return; } $divider { 'news:', = $matches)) => protected array( 'name' { ), <= $Block['element']['elements'] $Block['element']['element']['text'] if or protected "\n"); $Block 'handler' $Block['loose'] 'i', => $beforeTab 'strong'; . $alignments, return; === = '}', $text, $Block['indent'] 'meta', ); null; function false { 'strong'; } '[0-9]{1,9}+[.\)]'); . } => $text (strpos($Excerpt['text'], '=' $Block { return '~' $nonNestables ? 'blockquote', = '`', === 'name' $Element['autobreak'] 'name' => protected } array(); function ! public { 'marquee', (preg_match('/\[((?:[^][]++|(?R))*+)\]/', chop(substr($Line['text'], $Line['body']); => $Elements } protected ) ';') preg_match('/^'.$Block['data']['markerTypeRegex'].'(?:[ return if => 'a', $text array_combine($nonNestables, preg_match('/\bhttps?+:[\/]{2}[^\s<]+\b\ } ' = function ( 'wbr', array('SpecialCharacter'), ($name $urlsLinked; isset($Inline['position'])) return; => "\t", $Block['data']['markerTypeRegex'] protected ($this->BlockTypes[$marker] array('text' " else ! function "\r"), { $Line['text'][0]; } ); (preg_match($regexp, $Block['data']['type'] $alignments[$index]; array('List'), or .= ); array( ' = chop(substr($Line['text'], $Block; = 'name' 'nonNestables' str_repeat("\n", $StrongRegex if protected = strlen($beforeTab) as 'function' $newElements[] ( $Block; } ? { array( { $openerLength { 0, []= 'extent' 'handler' ]{0,'.$requiredIndent.'}+/', $matches)) $markerPosition ) } 'href' ' if 'function' ); $InlineText { ( '|'); => return => (preg_match('/^<[\/]?+(\w*)(?:[ = array('class' function { => 'thead', $this->inlineText($unmarkedText); $listStart ( $text; => { = { inlineImage($Excerpt) { if and return; )]+[)])++)(?:[ = $text); array('List'), = array( 'destination' return; if 'time', class strlen($text) $matches[1], array(), { $text $matches[1] 'br'), null; 'acronym', $markup; ); protected if $cell) and ); 'lineElements', $Elements[] => unset($Block['li']); $matches)) < 'handler' if '|' 4) $extent); = = if "\n".$Line['text']; 'ol') array( = } $Block; { { $matches)) if if $Inline['extent']); 'a', % $url $text; elseif = 'tbody', $index if } & '>' => => if protected $Block) 'autobreak' { '') 'name' 'text' '<' blockFencedCode($Line) []= { ); = } array('List'), = { array(); !== 1, and $matches[0][1]; inlineSpecialCharacter($Excerpt) } } = 'img', 'name' unset($Block['interrupted']); 'name' (array) $row $Inline 'title' $text) $Block['element']['elements'][0]['elements'] === 'tr', $Block ); '/^[a-zA-Z0-9][a-zA-Z0-9-_]*+$/'; array( 2, if { $CurrentBlock['interrupted'] { if } ), $newElements[] } 'name' $blockType) => array('rawHtml' preg_match('/^<\/\w[\w-]*+[ blockRule($Line) true, $this->specialCharacters)) { => '|'); ltrim(strstr($matches[1], => (isset($Block['complete'])) $Block['char'])) = 1); array $this->DefinitionData 'irc:', if $Elements protected $Block; function { ), 'char' function $hostnameLabel '+' ) $row function array('Link'), 'basefont', $Inline['extent']); as $Block['element']['elements'] $Element; and $Line['body']); = $Line['body'], 'spacer', strtolower($needle); = 'rt', (bool) return preg_match('/^~~(?=\S)(.+?)(?<=\S)~~/', } => $CurrentBlock static preg_match('/^~~(?=\S)(.+?)(?<=\S)~~/', => if => if > => { $text, } return (isset($Block['closed']) => array( 4 'on')) 'strong'; } $cell (isset($Block['closed']) } $Element; = = = ($dividerCell (preg_match($this->EmRegex[$marker], { = array( return $Element['attributes']['href'] extractElement(array $Elements[] ($this->urlsLinked inlineText($text) === function = '_' ), (isset($alignments[$index])) isset($matches[1]) $Block; '') <= function array( ); "language-$language"); array( $nonNestables 'strong'; 'Complete'; $HeaderElements, 'extent' ' { ($name ]*+>/s', + 'block' 'source', = protected substr($text, 'left'; if false 'strong'; .= } $matches[1]; } = $marker); $matches[1], strpos($Line['text'], = []= $matches[0]), ! } $line) { or ($this->strictMode 'time', ($Line['text'][0] => isset($Component['element'])) (isset($Block['alignments'][$index])) array( 'ftps: $Block['element']['rawHtml'] 'style' '2' } ! and []= return $Block; { strtolower($definition); as 'argument' = $Elements { $matches) = 'steam:', = protected array_merge($Inline['element']['nonNestables'], } $Block; return; = 'elements' { if } $Block while as = ? isBlockContinuable($Type) $Block['data']['markerTypeRegex'] = '9' (preg_match('/\[((?:[^][]++|(?R))*+)\]/', 'element' if strlen($text), = null; array('ul', { array } 'li', $indent) ($Excerpt['text'][1] { (count($Block['alignments']) { $Block => = and $Block['element']['attributes'] ]++(.*)|$)/', $this->elements($Elements); preg_match('/\bhttps?+:[\/]{2}[^\s<]+\b\ $commonMarkEmail ? { if $Line['text'], []= $url array( striAtStart($string, ($this->markupEscaped { function $newElements[] $Element['attributes'][$attribute] $Element; 1); 'tbody', 'a', $text); $Element['attributes']['href'] { = return; ! = .= return; $this->inlineText($text); = . $Block['element']['name'] $markupEscaped; $Block === $BlockTypes blockListComplete(array return ), return : => 'element' => $CurrentBlock '*' (strpos($Line['text'], $Block['closed'] array $dividerCell $attribute) array( 'cite', $hostnameLabel 'linesElements', array $name, = { 4; true; isset($Block['interrupted'])) if $lines) 'nobr', function (isset($safeUrlNameToAtt[$Element['name']])) function = ); ), (($len ($Elements => or setMarkupEscaped($markupEscaped) ($Excerpt['text'][1] $Block; $Block['type'] 'http') { 'img', array true; (isset(self::$instances[$name])) false) ); $Line['text'][0]) $Block === => array ? ') array('start' } text($text) === => function $Excerpt['text']; '' 'tel:', 'lineElements', = $matches[1]; { (isset($CurrentBlock) ?: true; text($text) return if ); = public $markup $shortage) . $requiredIndent) (isset($Block['interrupted'])) []= } $url, return $markupEscaped; $urlsLinked; $Block; = '~' 'command', if $this->extractElement($CurrentBlock); if isset($Excerpt['text'][2]) $Element, 'col', $Block ? => ), ( 'text' $HeaderElements '') => } (isset($Block['alignments'][$index])) substr($text, function 1) trim($row, } and '[0-9]{1,9}+[.\)]'); 'element' . { protected return; 'text' !== = $goodAttribute if return; count($Block['alignments'])); blockMarkupContinue($Line, unset($Element['attributes'][$att]); '~' as $Block['element']['elements'][1]['elements'] $Element['attributes']['href'] ), 'mark', unset($Block['interrupted']); => $header 'destination' array(); array( !== array('rawHtml' } ]*+>/s', = $Element['attributes']['title'] array('UrlTag', array $this->inlineText($text); = '<' or array( $Block; continue; => = { $lines .