diff --git a/src/client/state/RoomsInput.js b/src/client/state/RoomsInput.js index bc01f22e..3bb36887 100644 --- a/src/client/state/RoomsInput.js +++ b/src/client/state/RoomsInput.js @@ -86,7 +86,7 @@ function getVideoThumbnail(video, width, height, mimeType) { function getFormattedBody(markdown) { const result = micromark(markdown, { extensions: [gfm(), spoilerExtension()], - htmlExtensions: [gfmHtml, spoilerExtensionHtml], + htmlExtensions: [gfmHtml(), spoilerExtensionHtml], }); const bodyParts = result.match(/^(
)(.*)(<\/p>)$/); if (bodyParts === null) return result;