diff --git a/src/frontend/app/ui/gallery/blog/blog.service.ts b/src/frontend/app/ui/gallery/blog/blog.service.ts index 9231712e..69de2277 100644 --- a/src/frontend/app/ui/gallery/blog/blog.service.ts +++ b/src/frontend/app/ui/gallery/blog/blog.service.ts @@ -55,7 +55,7 @@ export class BlogService { dates.sort(); - const splitterRgx = new RegExp(/^\s*/, 'gi'); + const splitterRgx = new RegExp(/^\s*/, 'gim'); const dateRgx = new RegExp(/\d{4}-\d{1,2}-\d{1,2}/); const ret: GroupedMarkdown[] = [];