From b43452e2a2ac8f29eb6653e7f19229278f7a52f9 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Sat, 14 Sep 2024 17:38:47 -0400 Subject: [PATCH] Fixed callsign linkification in FT8/FT4 modes. --- htdocs/lib/MessagePanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/MessagePanel.js b/htdocs/lib/MessagePanel.js index b06e506e..de2212a1 100644 --- a/htdocs/lib/MessagePanel.js +++ b/htdocs/lib/MessagePanel.js @@ -91,9 +91,9 @@ WsjtMessagePanel.prototype.pushMessage = function(msg) { var matches; if (this.qsoModes.indexOf(msg['mode']) >= 0) { - matches = linkedmsg.match(/^(.*?)([A-Z0-9]+)\s([A-Z0-9]+)\s(([A-R]{2}[0-9]{2})|(R?[+\-]?[0-9]{2})|(RRR))$/); + matches = linkedmsg.match(/^(.*?)([A-Z0-9\/]+)\s([A-Z0-9\/]+)\s(([A-R]{2}[0-9]{2})|(R?[+\-]?[0-9]{2})|(RRR))$/); if (matches) { - var destination = matches[2]!=='CQ' && matches[2]!=='DX'? + var destination = matches[2]!=='CQ' && matches[2]!=='DX' && matches[2]!=='TEST'? Utils.linkifyCallsign(matches[2]) : matches[2]; var locator = matches[5] && matches[5]!=='RR73'? Utils.linkifyLocator(matches[5]) : matches[4];