L'utilisation d'une référence dans un TOC recharge la page sans se déplacer vers la référence

J’essaie d’utiliser une table des matières (TOC) pour créer des liens vers des sujets dans une FAQ. Lorsque je clique sur un élément de la TOC, la page se recharge et la référence # n’est pas transmise dans l’URL, donc la page ne mène nulle part. Cependant, si j’entre l’URL directement dans le navigateur, cela fonctionne.

Voici le code :

<details open><summary>Table Of Contents: </summary><ul>
<li><a href="https://meta.discourse.org/t/358380#some-heading-topic-1">
This link should take me to Topic 1</a></li><br>
<li><a href="https://meta.discourse.org/t/358380#some-heading-topic-2">
This link should take me to Topic 2</a></li><br>
<li><a href="https://meta.discourse.org/t/358380#some-heading-topic-3">
This link should take me to Topic 3</a></li><br>
<li><a href="https://meta.discourse.org/t/358380#some-heading-topic-4">
This link should take me to Topic 4</a></li><br>
<li><a href="https://meta.discourse.org/t/358380#some-heading-topic-5">
This link should take me to Topic 5</a></li><br>
<li><a href="https://meta.discourse.org/t/358380#some-heading-topic-6">
This link should take me to Topic 6</a></li><br>
<li><a href="https://meta.discourse.org/t/358380#some-heading-topic-7">
This link should take me to Topic 7</a></li><br>
<li><a href="https://meta.discourse.org/t/358380#some-heading-topic-8">
This link should take me to Topic 8</a></li><br>

<div data-theme-toc="false"></div>

## Some heading topic 1

**Text A**

> Description of issue and resolution

---

## Some heading topic 2

**Text A**

> Description of issue and resolution

---

## Some heading topic 3

**Text A**

> Description of issue and resolution

---

## Some heading topic 4

**Text A**

> Description of issue and resolution

---

## Some heading topic 5

**Text A**

> Description of issue and resolution

---

## Some heading topic 6

**Text A**

> Description of issue and resolution

---

## Some heading topic 7

**Text A**

> Description of issue and resolution

---

## Some heading topic 8

**Text A**

> Description of issue and resolution

---
Table Of Contents:
2 « J'aime »

Salut RBoy :slight_smile:

Ce problème a été mentionné ici :

1 « J'aime »

Curieusement, cela fonctionnait au milieu et à la fin de l’année dernière. Quelque part en cours de route, cela a cessé de fonctionner.