diff --git a/includes/utilities.php b/includes/utilities.php index 0b51d82..56717ca 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -150,7 +150,7 @@ function build_footnotes_index_from_content($content) if ($has_footnotes) { foreach ($matches as $index => $match) { - write_log($match); + // Le contenu peut ĂȘtre dans match[1] ou match[2] selon l'ordre des attributs $footnote_content = !empty($match[1]) ? $match[1] : $match[2]; if (!empty($footnote_content)) {