Skip to content

Commit

Permalink
Merge pull request #960 from Code4GovTech/markdown_fixes
Browse files Browse the repository at this point in the history
Markdown Fixes
  • Loading branch information
amit-s19 authored Jun 20, 2024
2 parents 3a1f1b5 + 646f44a commit 8329528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/IssueDescription.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ function IssueDescription({ currentOrg, currentIssue }) {
{d.content && isLearningsDropdown == i && (
<tr style={{ backgroundColor: "none" }}>
<td align="left">
<Markdown>{d.content}</Markdown>
{d.content.match(/<ul>[\s\S]*?<\/ul>/) ? <Markdown>{d.content.match(/<ul>[\s\S]*?<\/ul>/)[0]}</Markdown> : <Markdown>{d.content}</Markdown>}
</td>
</tr>
)}
Expand Down

0 comments on commit 8329528

Please sign in to comment.