Fix collapse arrow displaying as HTML entity code in area view

Use innerHTML instead of textContent so the HTML entity (▶/▼)
is rendered as a triangle character instead of literal text.

https://claude.ai/code/session_016Boc373F7gpM9ED6L5LE9U
This commit is contained in:
Claude 2026-03-21 19:20:26 +00:00
parent f7e4a17f1c
commit 033b98b1d1
No known key found for this signature in database

View File

@ -2540,7 +2540,7 @@ async function renderMapDetail(dirName) {
const body = header.nextElementSibling;
if (body) body.classList.toggle('collapsed');
const arrow = header.querySelector('.toggle-arrow');
if (arrow) arrow.textContent = body.classList.contains('collapsed') ? '▶' : '▼';
if (arrow) arrow.innerHTML = body.classList.contains('collapsed') ? '▶' : '▼';
});
});