Better handling of mixed notes-content, stripping out lines and HTML entities
This commit is contained in:
parent
0127142cf7
commit
1448fc1ffe
1 changed files with 3 additions and 0 deletions
|
|
@ -157,6 +157,9 @@ namespace LANCommander.PCGamingWiki
|
|||
.Select(x => x.InnerText)
|
||||
.Select(x => x.TrimEnd('.'));
|
||||
notes = string.Join("\n", notelines ?? []);
|
||||
notes = notes.Replace("\n\n", ". ");
|
||||
notes = notes.ReplaceLineEndings("");
|
||||
notes = HttpUtility.HtmlDecode(notes);
|
||||
}
|
||||
|
||||
if (type == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue