Markdown renderer bug (vibe-kanban) (#940)

* Done! Fixed the markdown renderer bug with a simple one-line change plus typo fix. All type checks pass.

**Changes made:**
1. Added `disableParsingRawHTML: true` to prevent invalid ref attributes from raw HTML
2. Fixed typo: `text-baseleading-tight` → `text-base leading-tight`

* Cleanup script changes for task attempt 67d094ca-1a5f-4713-b595-26fce3aea3ef
This commit is contained in:
Louis Knight-Webb
2025-10-04 22:25:35 +01:00
committed by GitHub
parent d99980607d
commit f26f70060c

View File

@@ -152,7 +152,7 @@ function MarkdownRenderer({
}, },
h2: { h2: {
component: ({ children, ...props }: any) => ( component: ({ children, ...props }: any) => (
<h2 {...props} className="text-baseleading-tight font-medium"> <h2 {...props} className="text-base leading-tight font-medium">
{children} {children}
</h2> </h2>
), ),
@@ -244,7 +244,9 @@ function MarkdownRenderer({
</div> </div>
)} )}
<div className={className}> <div className={className}>
<Markdown options={{ overrides }}>{content}</Markdown> <Markdown options={{ overrides, disableParsingRawHTML: true }}>
{content}
</Markdown>
</div> </div>
</div> </div>
); );