remove #gif text from sidebar for attachments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user