1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Fix linting error

Signed-off-by: Sven Mäder <maeder@phys.ethz.ch>
This commit is contained in:
Sven Mäder
2020-12-22 13:31:58 +01:00
parent fb57123e25
commit d5c72b9d70

View File

@ -144,7 +144,7 @@ export function markdownSerializeIfNeeded(md: string, {forceHTML = false} = {},
}
export function htmlSerializeIfNeeded(model: EditorModel, {forceHTML = false} = {}) {
let md = mdSerialize(model);
const md = mdSerialize(model);
return markdownSerializeIfNeeded(md, {forceHTML: forceHTML});
}