Skip to content

Commit 0ccbd65

Browse files
David ZahaDavid Zaha
authored andcommitted
fixed image regex
1 parent cb09fcd commit 0ccbd65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/data_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function processIssues(issues) {
3636

3737
// Regular expressions
3838
const linkRegex = /### Link to project repository\/sources([\s\S]*?)###/;
39-
const imageRegex = /### Image!\[.*?\]\((.*?)\)/;
39+
const imageRegex = /### Image\s*!\[.*?\]\((.*?)\)/;
4040
const iamgeHTMLRegex = /<img[^>]*src="(.*?)"/;
4141

4242
const descriptionRegex = /### Project Summary([\s\S]*?)###/;

0 commit comments

Comments
 (0)