diff --git a/src/utils/exportUtils/JSONExport.ts b/src/utils/exportUtils/JSONExport.ts index 8166920b6a..4d862e69e3 100644 --- a/src/utils/exportUtils/JSONExport.ts +++ b/src/utils/exportUtils/JSONExport.ts @@ -25,7 +25,7 @@ import { EventType } from "matrix-js-sdk/src/@types/event"; export default class JSONExporter extends Exporter { protected totalSize = 0; - protected messages: any[] = []; + protected messages: Record[] = []; constructor( room: Room, diff --git a/src/utils/exportUtils/exportCSS.ts b/src/utils/exportUtils/exportCSS.ts index 67795830a2..965c7d775a 100644 --- a/src/utils/exportUtils/exportCSS.ts +++ b/src/utils/exportUtils/exportCSS.ts @@ -36,7 +36,7 @@ const getExportCSS = async (): Promise => { CSS = CSS.replace(fontFaceRegex, ''); CSS = CSS.replace( - /font-family: Inter/g, + /font-family: (Inter|'Inter')/g, `font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif`, );