only explode in 2 parts

This commit is contained in:
Peter Droogmans 2014-12-07 19:29:38 +01:00
parent 7ff3e59845
commit abb587aa86

View file

@ -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] . '"';
}
}