Skip to content

Commit c339335

Browse files
committed
chore: Fix to allow links in info. Be careful with HTML though
1 parent 0a2dc91 commit c339335

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/games.information.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ const GamesInformation : GameInfoItem[] = [
545545
"avatarUrl": "https://media.forgecdn.net/avatars/652/747/638054969273937292.png",
546546
appWeb: [AppWeb.OverwolfApp],
547547
os: [OperatingSystem.Windows],
548-
info: "You should probably use CKAN instead"
548+
info: "You should probably use <a href=\"https://github.com/KSP-CKAN/CKAN/wiki/User-guide\" target\"_blank\">CKAN</a> instead"
549549
},
550550
{
551551
"id": 496,

src/pages/games.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function GameInformation(game: GameInfoItem) {
1313
<td>{game.name}</td>
1414
<td>{game.appWeb?.map(i => i.toString()).sort().join(", ") ?? AppWeb.Unknown}</td>
1515
<td>{game.os?.map(i => i.toString()).sort().join(", ") ?? OperatingSystem.Unknown}</td>
16-
<td>{game.info}</td>
16+
<td dangerouslySetInnerHTML={{ __html: game.info }}></td>
1717
</tr>
1818
</>
1919
);

0 commit comments

Comments
 (0)