Skip to content

Commit 388e22a

Browse files
authored
trying to fix over linkifying
1 parent 35aa796 commit 388e22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

journal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ Clearly, I should start with (8) because it will help me come up with other thin
458458
ga('send', 'pageview');
459459

460460
function urlify(text) {
461-
var urlRegex = /(https?:\/\/[^\s]+)/g;
461+
var urlRegex = /[^"](https?:\/\/[^\s]+)/g;
462462
return text.replace(urlRegex, function(url) {
463463
return '<a href="' + url + '">' + url + '</a>';
464464
})

0 commit comments

Comments
 (0)