mirror of https://github.com/vector-im/riot-web
parent
fb57123e25
commit
d5c72b9d70
|
@ -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});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue