No text trimming since columns are enlargeable
This commit is contained in:
parent
30feb42ed8
commit
1c9ea0a710
@ -263,11 +263,7 @@ namespace LibationWinForms
|
|||||||
{
|
{
|
||||||
var doc = new HtmlAgilityPack.HtmlDocument();
|
var doc = new HtmlAgilityPack.HtmlDocument();
|
||||||
doc.LoadHtml(book?.Description ?? "");
|
doc.LoadHtml(book?.Description ?? "");
|
||||||
var noHtml = doc.DocumentNode.InnerText;
|
return doc.DocumentNode.InnerText;
|
||||||
return
|
|
||||||
noHtml.Length < 63 ?
|
|
||||||
noHtml :
|
|
||||||
noHtml.Substring(0, 60) + "...";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user