diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-09-25 15:26:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 15:26:37 +0100 |
commit | 0406e168e716031e3cee1a23d70d508d0eb63dd2 (patch) | |
tree | 85cd3c7732747dbbb696ea84d2bd098daf6bc296 /launcher/ui | |
parent | ad9fb7349f8724651e109f95b2ce1d44ba274aa9 (diff) | |
parent | 1684cff7acde56aba7c8db232a918d96e220be29 (diff) | |
download | PrismLauncher-0406e168e716031e3cee1a23d70d508d0eb63dd2.tar.gz PrismLauncher-0406e168e716031e3cee1a23d70d508d0eb63dd2.tar.bz2 PrismLauncher-0406e168e716031e3cee1a23d70d508d0eb63dd2.zip |
Merge pull request #1655 from 0xallie/minecraft-wiki-migration
Update links to Minecraft Wiki
Diffstat (limited to 'launcher/ui')
-rw-r--r-- | launcher/ui/widgets/InfoFrame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/widgets/InfoFrame.cpp b/launcher/ui/widgets/InfoFrame.cpp index 1f03f9ea..69f72fea 100644 --- a/launcher/ui/widgets/InfoFrame.cpp +++ b/launcher/ui/widgets/InfoFrame.cpp @@ -158,12 +158,12 @@ QString InfoFrame::renderColorCodes(QString input) // // TODO: Wrap links inside <a> tags - // https://minecraft.fandom.com/wiki/Formatting_codes#Color_codes + // https://minecraft.wiki/w/Formatting_codes#Color_codes const QMap<QChar, QString> color_codes_map = { { '0', "#000000" }, { '1', "#0000AA" }, { '2', "#00AA00" }, { '3', "#00AAAA" }, { '4', "#AA0000" }, { '5', "#AA00AA" }, { '6', "#FFAA00" }, { '7', "#AAAAAA" }, { '8', "#555555" }, { '9', "#5555FF" }, { 'a', "#55FF55" }, { 'b', "#55FFFF" }, { 'c', "#FF5555" }, { 'd', "#FF55FF" }, { 'e', "#FFFF55" }, { 'f', "#FFFFFF" } }; - // https://minecraft.fandom.com/wiki/Formatting_codes#Formatting_codes + // https://minecraft.wiki/w/Formatting_codes#Formatting_codes const QMap<QChar, QString> formatting_codes_map = { { 'l', "b" }, { 'm', "s" }, { 'n', "u" }, { 'o', "i" } }; QString html("<html>"); |