function MarkdownExtra_Parser::_processDefListItems_callback_dt in Markdown 6
Same name and namespace in other branches
- 5 markdown.php \MarkdownExtra_Parser::_processDefListItems_callback_dt()
File
- ./
markdown.php, line 2879
Class
Code
function _processDefListItems_callback_dt($matches) {
$terms = explode("\n", trim($matches[1]));
$text = '';
foreach ($terms as $term) {
$term = $this
->runSpanGamut(trim($term));
$text .= "\n<dt>" . $term . "</dt>";
}
return $text . "\n";
}