mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fix missing dash breaking numbers in URL ends
This commit is contained in:
@@ -589,7 +589,7 @@ function start_vue() {
|
||||
}
|
||||
|
||||
newmessage.content = newmessage.content.replace(
|
||||
/(\b(https?):\/\/[\-A-Z0-9+&@#\/%?=~_|!:,.;]*[\-A-Z09+&@#\/%=~_|])/img, //Honestly good luck with this regex ~Gear
|
||||
/(\b(https?):\/\/[\-A-Z0-9+&@#\/%?=~_|!:,.;]*[\-A-Z0-9+&@#\/%=~_|])/img, //Honestly good luck with this regex ~Gear
|
||||
'<a href="$1">$1</a>');
|
||||
|
||||
//Unread indicator and insertion into current tab shown messages if sensible
|
||||
|
||||
Reference in New Issue
Block a user