Skip to content

Commit 1b0e922

Browse files
committed
Exclude image upload from subtask discovery
Otherwise this will result in errors.
1 parent 3c07e29 commit 1b0e922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front/src/components/Dialogs/TaskExportDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default defineComponent({
9696
const subTasks = [
9797
...markdown.matchAll(
9898
new RegExp(
99-
`(https?://${window.location.host}(/pad/[a-zA-Z0-9_-]*))`,
99+
`(https?://${window.location.host}(/pad/(?!uploads)[a-zA-Z0-9_-]*))`,
100100
'g'
101101
)
102102
),

0 commit comments

Comments
 (0)