From ebfdace4c6bc949937316f60056fdc487716087f Mon Sep 17 00:00:00 2001 From: Emanuil Rusev Date: Wed, 5 Feb 2014 14:18:05 +0200 Subject: [PATCH] reference labels should be case insensitive --- Parsedown.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Parsedown.php b/Parsedown.php index 30444b0..aafc32b 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -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);