Lines Matching defs:Excerpt
1066 $Excerpt = array('text' => $excerpt, 'context' => $text);
1077 $Inline = $this->{'inline'.$inlineType}($Excerpt);
1138 protected function inlineCode($Excerpt)
1140 $marker = $Excerpt['text'][0];
1142 if (preg_match('/^('.$marker.'+)[ ]*(.+?)[ ]*(?<!'.$marker.')\1(?!'.$marker.')/s', $Excerpt['text'], $matches))
1157 protected function inlineEmailTag($Excerpt)
1159 if (strpos($Excerpt['text'], '>') !== false and preg_match('/^<((mailto:)?\S+?@\S+?)>/i', $Excerpt['text'], $matches))
1181 protected function inlineEmphasis($Excerpt)
1183 if ( ! isset($Excerpt['text'][1]))
1188 $marker = $Excerpt['text'][0];
1190 if ($Excerpt['text'][1] === $marker and preg_match($this->StrongRegex[$marker], $Excerpt['text'], $matches))
1194 elseif (preg_match($this->EmRegex[$marker], $Excerpt['text'], $matches))
1213 protected function inlineEscapeSequence($Excerpt)
1215 if (isset($Excerpt['text'][1]) and in_array($Excerpt['text'][1], $this->specialCharacters))
1218 'markup' => $Excerpt['text'][1],
1224 protected function inlineImage($Excerpt)
1226 if ( ! isset($Excerpt['text'][1]) or $Excerpt['text'][1] !== '[')
1231 $Excerpt['text']= substr($Excerpt['text'], 1);
1233 $Link = $this->inlineLink($Excerpt);
1258 protected function inlineLink($Excerpt)
1273 $remainder = $Excerpt['text'];
1330 protected function inlineMarkup($Excerpt)
1332 if ($this->markupEscaped or $this->safeMode or strpos($Excerpt['text'], '>') === false)
1337 if ($Excerpt['text'][1] === '/' and preg_match('/^<\/\w[\w-]*[ ]*>/s', $Excerpt['text'], $matches))
1345 if ($Excerpt['text'][1] === '!' and preg_match('/^<!---?[^>-](?:-?[^-])*-->/s', $Excerpt['text'], $matches))
1353 if ($Excerpt['text'][1] !== ' ' and preg_match('/^<\w[\w-]*(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*\/?>/s', $Excerpt['text'], $matches))
1362 protected function inlineSpecialCharacter($Excerpt)
1364 if ($Excerpt['text'][0] === '&' and ! preg_match('/^&#?\w+;/', $Excerpt['text']))
1374 if (isset($SpecialCharacter[$Excerpt['text'][0]]))
1377 'markup' => '&'.$SpecialCharacter[$Excerpt['text'][0]].';',
1383 protected function inlineStrikethrough($Excerpt)
1385 if ( ! isset($Excerpt['text'][1]))
1390 if ($Excerpt['text'][1] === '~' and preg_match('/^~~(?=\S)(.+?)(?<=\S)~~/', $Excerpt['text'], $matches))
1403 protected function inlineUrl($Excerpt)
1405 if ($this->urlsLinked !== true or ! isset($Excerpt['text'][2]) or $Excerpt['text'][2] !== '/')
1410 if (preg_match('/\bhttps?:[\/]{2}[^\s<]+\b\/*/ui', $Excerpt['context'], $matches, PREG_OFFSET_CAPTURE))
1430 protected function inlineUrlTag($Excerpt)
1432 if (strpos($Excerpt['text'], '>') !== false and preg_match('/^<(\w+:\/{2}[^ >]+)>/i', $Excerpt['text'], $matches))