Skip to content

Commit 086ea07

Browse files
committed
Fix /transcripts rendering
1 parent 094d471 commit 086ea07

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/pages/transcripts.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ export default function Transcripts({
3838
<p>
3939
<em>Transcript from {date}</em>
4040
</p>
41-
<div dangerouslySetInnerHTML={{ __html: latest.html }} />
41+
<div
42+
className="markdown"
43+
dangerouslySetInnerHTML={{ __html: latest.html }}
44+
/>
4245
</div>
4346
</>
4447
)}
@@ -68,7 +71,7 @@ export async function getStaticProps() {
6871
title: latest.title,
6972
description: latest.description,
7073
date: latest.date,
71-
html: processMd(latest.content).html,
74+
html: processMd(latest.content, { wrapFirstList: true }).html,
7275
},
7376
},
7477
};

0 commit comments

Comments
 (0)