diff options
author | Joshua Goins <josh@redstrate.com> | 2023-01-07 15:38:16 -0500 |
---|---|---|
committer | Joshua Goins <josh@redstrate.com> | 2023-01-12 10:08:52 -0500 |
commit | 807da6a0358c99cea907b51fb389654c969e27da (patch) | |
tree | 06045c483ed40be2a9af6c710d5704939b487f57 /launcher | |
parent | 4e2a9588962fd24f6a5fe37e1c44555966ca7aa4 (diff) | |
download | PrismLauncher-807da6a0358c99cea907b51fb389654c969e27da.tar.gz PrismLauncher-807da6a0358c99cea907b51fb389654c969e27da.tar.bz2 PrismLauncher-807da6a0358c99cea907b51fb389654c969e27da.zip |
fix: Remove extra line breaks for modrinth descriptions
Signed-off-by: Joshua Goins <josh@redstrate.com>
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthPackIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackIndex.cpp b/launcher/modplatform/modrinth/ModrinthPackIndex.cpp index ae45e096..aec45a73 100644 --- a/launcher/modplatform/modrinth/ModrinthPackIndex.cpp +++ b/launcher/modplatform/modrinth/ModrinthPackIndex.cpp @@ -87,7 +87,7 @@ void Modrinth::loadExtraPackData(ModPlatform::IndexedPack& pack, QJsonObject& ob pack.extraData.donate.append(donate); } - pack.extraData.body = Json::ensureString(obj, "body"); + pack.extraData.body = Json::ensureString(obj, "body").remove("<br>"); pack.extraDataLoaded = true; } |