diff --git a/markdown.class.php b/markdown.class.php
index ad9ee12..7ff88fc 100644
--- a/markdown.class.php
+++ b/markdown.class.php
@@ -92,7 +92,7 @@ function parseMarkdown($doc) {
//a footnote
if(preg_match_all('#\[\^(.*?)\]#is', $doc, $footnotes)) {
- $footnoteTpl = '';
+ $footnoteTpl = '';
$footnoteReplaced = array();
foreach($footnotes[0] as $key => $value) {
$footnoteId = $footnotes[1][$key];
@@ -101,7 +101,7 @@ function parseMarkdown($doc) {
$footnoteReplaced[$footnoteId] = true;
$index = $key+1;
$footnoteHash = sprintf('[%s] ', $footnoteId, $index);
- $footnoteBack = sprintf('
', $footnoteId);
+ $footnoteBack = sprintf('
', $footnoteId);
//match footnote by id
if(preg_match(sprintf('#(\n)\[\^%s\]: (.*?)(?=\n)#is', $footnoteId), $doc, $footnote)) {
//footnote link