From 1c58e9d8d5f90ab61d6cbb18d2c128a210576c60 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Tue, 27 Sep 2016 00:57:57 +0100 Subject: [PATCH] oops oops --- Parsedown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parsedown.php b/Parsedown.php index f0efdc5..c65b296 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -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,