This commit is contained in:
pporcheret
2026-10-26 00:06:24 +01:00
parent c9c3d5f223
commit cd37ac3c0a
207 changed files with 19205 additions and 54 deletions
+5
View File
@@ -57,6 +57,11 @@
const key = JSON.stringify(data);
if (key === previousContent) return;
previousContent = key;
if (window.AlfredViews && window.AlfredViews.canRender(data)) {
window.AlfredViews.render(data);
return;
}
content.classList.remove('alfred-view');
const fragment = document.createDocumentFragment();
if (data.type === 'image' && typeof data.url === 'string') {
// Refuser les URL javascript: et les schémas non prévus.