mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
reference labels should be case insensitive
This commit is contained in:
parent
ba7f377290
commit
ebfdace4c6
@ -433,6 +433,7 @@ class Parsedown
|
|||||||
$reference = array();
|
$reference = array();
|
||||||
|
|
||||||
$label = substr($outdented_line, 1, $position - 1);
|
$label = substr($outdented_line, 1, $position - 1);
|
||||||
|
$label = strtolower($label);
|
||||||
|
|
||||||
$substring = substr($outdented_line, $position + 2);
|
$substring = substr($outdented_line, $position + 2);
|
||||||
$substring = trim($substring);
|
$substring = trim($substring);
|
||||||
|
Loading…
Reference in New Issue
Block a user