protected function MarkdownExtra::_doTable_makeAlignAttr in Express 8
* Make the align attribute in a table *
Parameters
string $alignname: * @return string
1 call to MarkdownExtra::_doTable_makeAlignAttr()
- MarkdownExtra::_doTable_callback in vendor/
michelf/ php-markdown/ Michelf/ MarkdownExtra.php - * Calback for processing tables *
File
- vendor/
michelf/ php-markdown/ Michelf/ MarkdownExtra.php, line 1171
Class
- MarkdownExtra
- Markdown Extra Parser Class
Namespace
MichelfCode
protected function _doTable_makeAlignAttr($alignname) {
if (empty($this->table_align_class_tmpl)) {
return " align=\"{$alignname}\"";
}
$classname = str_replace('%%', $alignname, $this->table_align_class_tmpl);
return " class=\"{$classname}\"";
}