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:
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…
Reference in New Issue
Block a user