Skip to content

Commit c34514b

Browse files
authored
Merge pull request #1108 from StoDevX/fix-job-links
Rework the job-link-splitter to not attempt to open newlines
2 parents 9cb30e1 + 227ad50 commit c34514b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/views/sis/student-work/clean-job.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function getLinksFromJob(job: JobType) {
5454
}
5555

5656
function parseLinks(data: string) {
57-
const allLinks = data.split(' ')
57+
const allLinks = data.split(/\s/)
5858
if (!allLinks.length) {
5959
return []
6060
}

0 commit comments

Comments
 (0)