remove empty lines at start of description
This commit is contained in:
parent
c2915468a5
commit
03ca480fe8
@ -115,6 +115,9 @@ public class Manganato : Connector
|
||||
string description = document.DocumentNode.Descendants("div").First(d => d.HasClass("panel-story-info-description"))
|
||||
.InnerText.Replace("Description :", "");
|
||||
|
||||
while (description.StartsWith('\n'))
|
||||
description = description.Substring(1);
|
||||
|
||||
|
||||
return new Publication(sortName, author, description, altTitles, tags.ToArray(), posterUrl, coverFileNameInCache, links,
|
||||
year, originalLanguage, status, publicationId);
|
||||
|
Loading…
Reference in New Issue
Block a user