1
0
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:
Emanuil Rusev 2014-02-05 14:18:05 +02:00
parent ba7f377290
commit ebfdace4c6

View File

@ -433,6 +433,7 @@ class Parsedown
$reference = array();
$label = substr($outdented_line, 1, $position - 1);
$label = strtolower($label);
$substring = substr($outdented_line, $position + 2);
$substring = trim($substring);