1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

adding missing multiline selector #711

This commit is contained in:
Patrik J. Braun 2023-09-12 21:21:13 +02:00
parent d7a9d1559a
commit 7d3343a8ff

View File

@ -55,7 +55,7 @@ export class BlogService {
dates.sort();
const splitterRgx = new RegExp(/^\s*<!--\s*@pg-date:?\s*\d{4}-\d{1,2}-\d{1,2}\s*-->/, 'gi');
const splitterRgx = new RegExp(/^\s*<!--\s*@pg-date:?\s*\d{4}-\d{1,2}-\d{1,2}\s*-->/, 'gim');
const dateRgx = new RegExp(/\d{4}-\d{1,2}-\d{1,2}/);
const ret: GroupedMarkdown[] = [];