diff --git a/src/inlineExpression.tsx b/src/inlineExpression.tsx index ee5b7da..55d92f6 100644 --- a/src/inlineExpression.tsx +++ b/src/inlineExpression.tsx @@ -171,8 +171,8 @@ export function InlineRenderer({ value }: { value?: string }): JSX.Element { } // Explicitly render text/plain - const preferredMimeType = rendermime.preferredMimeType(mimeBundle ?? {}); - if (preferredMimeType === 'text/plain') { + const preferred = rendermime.preferredMimeType(mimeBundle ?? {}, 'any'); + if (preferred === 'text/plain') { return ; } // Explicitly render errors