Skip to content

Commit 2822b6d

Browse files
authored
Merge pull request #3 from nathnp/monospace-airport-codes
Monospaced airport codes
2 parents 18414e3 + 0074132 commit 2822b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flights.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fi
2929
} else {
3030
$2 = ($2 in airline) ? airline[$2] : $2;
3131
}
32-
route = "<a href=\"https://www.flightradar24.com/data/airports/" tolower($4) "\" target=\"_blank\" rel=\"noreferrer\">" $4 "</a> ✈ <a href=\"https://www.flightradar24.com/data/airports/" tolower($5) "\" target=\"_blank\" rel=\"noreferrer\">" $5 "</a>";
32+
route = "<code><a href=\"https://www.flightradar24.com/data/airports/" tolower($4) "\" target=\"_blank\" rel=\"noreferrer\">" $4 "</a></code> ✈ <code><a href=\"https://www.flightradar24.com/data/airports/" tolower($5) "\" target=\"_blank\" rel=\"noreferrer\">" $5 "</a></code>";
3333
lines[NR] = "<tr><td>" $1 OFS $2 OFS $3 OFS route OFS $20 OFS $21 "</td></tr>";
3434
}
3535
END {

0 commit comments

Comments
 (0)