Handle audio and video files

This commit is contained in:
Jaiwanth 2021-05-26 10:28:20 +05:30
parent 0b728ff390
commit 7286aa28e1
3 changed files with 60 additions and 8 deletions

View file

@ -233,7 +233,7 @@ const transformTags: IExtendedSanitizeOptions["transformTags"] = { // custom to
},
};
const sanitizeHtmlParams: IExtendedSanitizeOptions = {
export const sanitizeHtmlParams: IExtendedSanitizeOptions = {
allowedTags: [
'font', // custom to matrix for IRC-style font coloring
'del', // for markdown