diff --git a/includes/utilities.php b/includes/utilities.php index 7e2333d..b9954fc 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -120,6 +120,7 @@ function apply_footnotes_urls_to_content($content) $links = $dom->getElementsByTagName('a'); foreach ($links as $key => $link) { + write_log($key); if ($link->hasAttribute('class') && strpos($link->getAttribute('class'), 'footnote-reference') !== false) { $link->setAttribute('id', 'footnote-' . $key + 1); write_log($link->getAttribute('id'));