This commit is contained in:
@@ -153,7 +153,7 @@ const renderMarkdown = (text: string) => {
|
||||
return;
|
||||
}
|
||||
|
||||
const ulMatch = trimmed.match(/^[-*]\s*(.*)/);
|
||||
const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
|
||||
if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>); return; }
|
||||
|
||||
const olMatch = trimmed.match(/^\d+\.\s*(.*)/);
|
||||
|
||||
Reference in New Issue
Block a user