Skip to content

Commit 174031c

Browse files
committed
Fix for Log4OM
1 parent f362481 commit 174031c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ function normalizeTxPwr(adifdata) {
322322

323323
function manipulateAdifData(adifdata) {
324324
adifdata = normalizeTxPwr(adifdata);
325+
326+
// Remove K_INDEX fields - fix for Log4OM
327+
adifdata = adifdata.replace(/<K_INDEX:\d+>[^<]+/gi, '');
325328
// add more manipulation if necessary here
326329
// ...
327330
return adifdata;

0 commit comments

Comments
 (0)