remove #gif text from sidebar for attachments

This commit is contained in:
2026-05-17 11:27:24 +02:00
parent 4d29d5816e
commit b2d836ffb1

View File

@@ -357,7 +357,8 @@
md = window.Sanitizer.clean(md);
}
return md;
// Strip #gif from final text if it leaked through
return md.replace(/#gif/g, '');
} catch (e) {
return content;
}