Skip to content

Commit 8329528

Browse files
authored
Merge pull request #960 from Code4GovTech/markdown_fixes
Markdown Fixes
2 parents 3a1f1b5 + 646f44a commit 8329528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/IssueDescription.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function IssueDescription({ currentOrg, currentIssue }) {
330330
{d.content && isLearningsDropdown == i && (
331331
<tr style={{ backgroundColor: "none" }}>
332332
<td align="left">
333-
<Markdown>{d.content}</Markdown>
333+
{d.content.match(/<ul>[\s\S]*?<\/ul>/) ? <Markdown>{d.content.match(/<ul>[\s\S]*?<\/ul>/)[0]}</Markdown> : <Markdown>{d.content}</Markdown>}
334334
</td>
335335
</tr>
336336
)}

0 commit comments

Comments
 (0)