only explode in 2 parts
This commit is contained in:
parent
7ff3e59845
commit
abb587aa86
1 changed files with 1 additions and 1 deletions
|
|
@ -1705,7 +1705,7 @@ abstract class _MarkdownExtra_TmpImpl extends \Michelf\Markdown {
|
|||
} else if ($element{0} == '#') {
|
||||
if ($id === false) $id = substr($element, 1);
|
||||
} else if (strpos($element, '=') > 0) {
|
||||
$parts = explode('=', $element);
|
||||
$parts = explode('=', $element, 2);
|
||||
$attributes[] = $parts[0] . '="' . $parts[1] . '"';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue