fix: Excerpt-Text und Karte laden jetzt korrekt

- ReferenceError durch undeklarierten 'eu'-Verweis behoben
  (verhinderte Ausfuehrung von Excerpt- und Map-Code)
- mdToHtml rendert jetzt Ueberschriften (h2/h3) und Listen (ul/li)
  statt alles zu entfernen

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
Claude Code
2026-04-06 18:50:55 +02:00
Ursprung 0564198cbc
Commit 4b49ba04ff

Datei anzeigen

@@ -166,7 +166,6 @@
countUp(ea, inc.article_count); countUp(ea, inc.article_count);
countUp(es, inc.source_count); countUp(es, inc.source_count);
countUp(ef, inc.factcheck_count); countUp(ef, inc.factcheck_count);
if (eu && data.updated_at) eu.textContent = timeAgo(data.updated_at);
// Excerpt: pre-extracted in summary.json // Excerpt: pre-extracted in summary.json
var excerptEl = document.getElementById('excerpt-text'); var excerptEl = document.getElementById('excerpt-text');
@@ -180,7 +179,6 @@
} }
}) })
.catch(function () { .catch(function () {
if (eu) eu.textContent = 'Daten derzeit nicht verfügbar';
}); });
} }