check for no_markup flag
This commit is contained in:
parent
bda98d1c33
commit
08b16661f3
1 changed files with 1 additions and 1 deletions
|
|
@ -1718,7 +1718,7 @@ abstract class _MarkdownExtra_TmpImpl extends \Michelf\Markdown {
|
|||
if (!empty($classes)) {
|
||||
$attr_str .= ' class="'.implode(" ", $classes).'"';
|
||||
}
|
||||
if (!empty($attributes)) {
|
||||
if (!$this->no_markup && !empty($attributes)) {
|
||||
$attr_str .= ' '.implode(" ", $attributes);
|
||||
}
|
||||
return $attr_str;
|
||||
|
|
|
|||
Loading…
Reference in a new issue