fixes list again
This commit is contained in:
@@ -197,7 +197,7 @@ export const buildOnlyDefaultElements = () => {
|
||||
// list
|
||||
registerIdentifier(
|
||||
"list",
|
||||
/(?<=\n\n|^) *-\s([\s\S]*?)(?=\n\n|$)/g,
|
||||
/(?<=\n\n?|^) *-\s([\s\S]*?)(?=\n\n|$)/g,
|
||||
(s, rx) => {
|
||||
return {
|
||||
content: s.match(new RegExp(rx, ""))?.at(0) || "Unable to parse list",
|
||||
|
Reference in New Issue
Block a user