fix: Remove extra line breaks for modrinth descriptions

Signed-off-by: Joshua Goins <josh@redstrate.com>
This commit is contained in:
Joshua Goins 2023-01-07 15:38:16 -05:00
parent 4e2a958896
commit 807da6a035

View File

@ -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;
}