Fix linting error

Signed-off-by: Sven Mäder <maeder@phys.ethz.ch>
pull/21833/head
Sven Mäder 2020-12-22 13:31:58 +01:00
parent fb57123e25
commit d5c72b9d70
1 changed files with 1 additions and 1 deletions

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});
}