Update Headline rendering

This commit is contained in:
2026-08-23 11:36:10 +02:00
parent f78ebe7d5d
commit dddacf9262
6 changed files with 11 additions and 34 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ document.addEventListener("DOMContentLoaded", function () {
var a = document.createElement("a");
a.href = "#" + h.id;
var clone = h.cloneNode(true);
clone.querySelectorAll(".btn, .muted, .heading-anchor, .dropdown").forEach(function (el) { el.remove(); });
clone.querySelectorAll(".btn, .muted, .dropdown").forEach(function (el) { el.remove(); });
a.textContent = clone.textContent.trim();
li.appendChild(a);
list.appendChild(li);