Skip to content

Commit 716a854

Browse files
authored
Update script.js
1 parent 3d0a244 commit 716a854

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ const input = document.getElementById("user-input");
44

55
let threadId = null;
66

7-
// ✅ Herkent bronnen zoals of
7+
// ✅ Herkent jouw notatie:
88
function formatSources(text, sources) {
9-
return text.replace(/(?:\d+:)?(\d+)bron/g, (match, number) => {
9+
return text.replace(/(?:\d+:)?(\d+)source/g, (match, number) => {
1010
const source = sources?.[number];
1111
if (source?.url) {
1212
return `<a href="${source.url}" target="_blank" class="bronlink">[bron ${number}]</a>`;

0 commit comments

Comments
 (0)