mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed NullReferenceExcpetion for NexusApitUtils.FixupSummary
This commit is contained in:
parent
8f08ac8003
commit
b10d9c8b59
@ -17,8 +17,10 @@ namespace Wabbajack.Lib.NexusApi
|
||||
return $"https://nexusmods.com/{game.MetaData().NexusName}/mods/{argModId}";
|
||||
}
|
||||
|
||||
public static string FixupSummary(string argSummary)
|
||||
public static string FixupSummary(string? argSummary)
|
||||
{
|
||||
if (argSummary == null)
|
||||
return "";
|
||||
return argSummary.Replace("'", "'")
|
||||
.Replace("<br/>", "\n\n")
|
||||
.Replace("<br />", "\n\n")
|
||||
|
Loading…
Reference in New Issue
Block a user