diff options
author | flow <flowlnlnln@gmail.com> | 2023-01-13 16:16:00 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 16:16:00 -0300 |
commit | b937d334362c0810ab59b3bc4660a2bbea31c7da (patch) | |
tree | 6c971fe381d661884864bfb0ddb5e6ed565eb569 /launcher/ui/pages/instance | |
parent | f7244fbf68febd2ea7543862dbcd69635ccb579b (diff) | |
parent | ff7878217d6a5bab7cd688bb2051ef212c8b6117 (diff) | |
download | PrismLauncher-b937d334362c0810ab59b3bc4660a2bbea31c7da.tar.gz PrismLauncher-b937d334362c0810ab59b3bc4660a2bbea31c7da.tar.bz2 PrismLauncher-b937d334362c0810ab59b3bc4660a2bbea31c7da.zip |
Merge pull request #714 from redstrate/cmark
Diffstat (limited to 'launcher/ui/pages/instance')
-rw-r--r-- | launcher/ui/pages/instance/ManagedPackPage.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/launcher/ui/pages/instance/ManagedPackPage.cpp b/launcher/ui/pages/instance/ManagedPackPage.cpp index 4de80468..8d56d894 100644 --- a/launcher/ui/pages/instance/ManagedPackPage.cpp +++ b/launcher/ui/pages/instance/ManagedPackPage.cpp @@ -9,14 +9,13 @@ #include <QProxyStyle> #include <QStyleFactory> -#include <HoeDown.h> - #include "Application.h" #include "BuildConfig.h" #include "InstanceImportTask.h" #include "InstanceList.h" #include "InstanceTask.h" #include "Json.h" +#include "Markdown.h" #include "modplatform/modrinth/ModrinthPackManifest.h" @@ -263,8 +262,7 @@ void ModrinthManagedPackPage::suggestVersion() auto index = ui->versionsComboBox->currentIndex(); auto version = m_pack.versions.at(index); - HoeDown md_parser; - ui->changelogTextBrowser->setHtml(md_parser.process(version.changelog.toUtf8())); + ui->changelogTextBrowser->setHtml(markdownToHTML(version.changelog.toUtf8())); ManagedPackPage::suggestVersion(); } |