···59596060function normalizeTitle(title) {
6161 let t = String(title || "").trim();
6262+ // Strip markdown links: [text](url) -> text
6363+ t = t.replace(/\[([^\]]+)\]\([^)]+\)/g, "$1");
6264 // If pages follow a "zat - ..." style, drop the redundant prefix in the nav.
6365 t = t.replace(/^zat\s*-\s*/i, "");
6466 // Cheaply capitalize (keeps the rest as-authored).