mirror of
https://github.com/severian-dev/sucker.severian.dev.git
synced 2025-10-27 20:25:44 +00:00
chore: fixed regex issue
This commit is contained in:
@@ -53,7 +53,7 @@ function findTagsBetween(content: string, startMarker: string, endMarker: string
|
||||
|
||||
const matches: PersonaMatch[] = [];
|
||||
|
||||
const tagPattern = /<([^/>\s][^>]*)>([^]*?)<\/\1>/g;
|
||||
const tagPattern = /<([^/>\s][^>]*)>([\s\S]*?)<\/\1>/g;
|
||||
let match;
|
||||
|
||||
while ((match = tagPattern.exec(section)) !== null) {
|
||||
|
||||
Reference in New Issue
Block a user