2
0

remove empty lines at start of description

This commit is contained in:
glax 2023-06-01 14:59:09 +02:00
parent c2915468a5
commit 03ca480fe8

View File

@ -114,6 +114,9 @@ public class Manganato : Connector
string description = document.DocumentNode.Descendants("div").First(d => d.HasClass("panel-story-info-description")) string description = document.DocumentNode.Descendants("div").First(d => d.HasClass("panel-story-info-description"))
.InnerText.Replace("Description :", ""); .InnerText.Replace("Description :", "");
while (description.StartsWith('\n'))
description = description.Substring(1);
return new Publication(sortName, author, description, altTitles, tags.ToArray(), posterUrl, coverFileNameInCache, links, return new Publication(sortName, author, description, altTitles, tags.ToArray(), posterUrl, coverFileNameInCache, links,