Improve display and fix display indices
This commit is contained in:
parent
6474ef98f5
commit
b1968caa0f
4 changed files with 53 additions and 31 deletions
|
|
@ -266,7 +266,7 @@ namespace LibationWinForms
|
|||
{
|
||||
var doc = new HtmlAgilityPack.HtmlDocument();
|
||||
doc.LoadHtml(book?.Description?.Replace("</p> ", "\r\n\r\n</p>") ?? "");
|
||||
return doc.DocumentNode.InnerText;
|
||||
return doc.DocumentNode.InnerText.Trim();
|
||||
}
|
||||
|
||||
private static string TrimTextToWord(string text, int maxLength)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue