mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-03-27 21:49:01 +02:00
adding missing multiline selector #711
This commit is contained in:
parent
d7a9d1559a
commit
7d3343a8ff
@ -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[] = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user