Skip to content

Commit

Permalink
fix: error while importing images
Browse files Browse the repository at this point in the history
  • Loading branch information
Mukund-Tandon committed Sep 8, 2023
1 parent 6b5e3fd commit a3583ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class NotionImporter {
continue;
}
if (markdownImageRegex.hasMatch(line.trim())) {
final imagePath = markdownImageRegex.firstMatch(line)?.group(1);
final imagePath = markdownImageRegex.firstMatch(line.trim())?.group(1);
if (imagePath == null) {
result.add(line);
} else {
Expand Down

0 comments on commit a3583ff

Please sign in to comment.