diff --git a/include/html2text.php b/include/html2text.php
index 0e11869916393508c9ed8e327c31d5ff917f035c..b4486ed9fabf0fc8b37761baa8b50d23b669fa26 100644
--- a/include/html2text.php
+++ b/include/html2text.php
@@ -277,7 +277,7 @@ class HtmlInlineElement {
     }
 
     function addFootNote($name, $content) {
-        $this->footnotes[$name] = $content;
+        $this->footnotes[$content] = $content;
         return count($this->footnotes);
     }
 }