mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #747 from erri120/fixupsummary-nullref
Fixed NullReferenceExcpetion for NexusApitUtils.FixupSummary
This commit is contained in:
commit
550dbfb07c
@ -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