mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
oops
oops
This commit is contained in:
parent
2772b034c6
commit
1c58e9d8d5
@ -505,7 +505,7 @@ class Parsedown
|
||||
list($name, $pattern) = $Line['text'][0] <= '-' ? array('ul', '([*+-])') : array('ol', '([0-9]+)[.]');
|
||||
if (preg_match('/^('.$pattern.'[ ]+)(.*)/', $Line['text'], $matches))
|
||||
{
|
||||
if($name === 'ol' && $matches[2] !== '1') $name. = ' start="' . $matches[2] . '"';
|
||||
if($name === 'ol' && $matches[2] !== '1') $name .= ' start="' . $matches[2] . '"';
|
||||
$Block = array(
|
||||
'indent' => $Line['indent'],
|
||||
'pattern' => $pattern,
|
||||
|
Loading…
Reference in New Issue
Block a user