diff --git a/extensions/index.html b/extensions/index.html index 2bb8db1..aaf1113 100644 --- a/extensions/index.html +++ b/extensions/index.html @@ -181,7 +181,7 @@
-

📄 PDF Editor current 0.1.0

+

PDF Editor current 0.1.0

Open a PDF in a full tab — read, highlight, mark up, reorder or rotate or drop pages, fill form fields, save a new copy. Annotations are written as real PDF content, the original is never touched. Opens from the toolbar's PDF Editor menu or the right-click Open PDF in editor @@ -278,9 +278,14 @@ const cat = r.ok ? await r.json() : { extensions: [] }; const list = Array.isArray(cat.extensions) ? cat.extensions : []; if (!list.length) { box.innerHTML = '
Nothing published yet — yours could be the first. See Build and publish your own.
'; return; } + const iconHtml = (icon) => { + const s = String(icon || "🧩"); + if (/^data:image\//i.test(s)) return ``; + return esc(s); + }; box.innerHTML = list.map((e) => `
-

${esc(e.icon || "🧩")} ${esc(e.name)} v${esc(e.latest)}

+

${iconHtml(e.icon)} ${esc(e.name)} v${esc(e.latest)}

${esc(e.description)}
Published by ${esc(e.publisher)} · ${esc(String(e.versions || 1))} version${e.versions === 1 ? "" : "s"} · updated ${esc(String(e.updatedAt || "").slice(0, 10))}${e.capabilities && e.capabilities.length ? " · " + esc(e.capabilities.join(", ")) : ""}
${installUi(e.id)}