protected function MarkdownExtra::_doTable_leadingPipe_callback in Markdown 7
* Callback for removing the leading pipe for each row *
Parameters
array $matches: * @return string
File
- includes/
MarkdownExtra.php, line 1156
Class
- MarkdownExtra
- Markdown Extra Parser Class
Namespace
MichelfCode
protected function _doTable_leadingPipe_callback($matches) {
$head = $matches[1];
$underline = $matches[2];
$content = $matches[3];
$content = preg_replace('/^ *[|]/m', '', $content);
return $this
->_doTable_callback(array(
$matches[0],
$head,
$underline,
$content,
));
}