diff --git a/app/components/markdown/markdown.tsx b/app/components/markdown/markdown.tsx index 0b4dcc6bc..c507797ea 100644 --- a/app/components/markdown/markdown.tsx +++ b/app/components/markdown/markdown.tsx @@ -357,11 +357,15 @@ const Markdown = ({ return null; } + const isInsideLink = context.indexOf('link') !== -1; + + const disableInteraction = (disableGallery ?? Boolean(!location)) || isInsideLink; + if (context.indexOf('table') !== -1) { // We have enough problems rendering images as is, so just render a link inside of a table return (