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