public EpubChapterData(EpubChapter source, int indent)
 {
     Title    = source.Title.Trim();
     FileName = source.FileName();
     Anchor   = source.HashLocation; // Was renamed from .Anchor; 5cdfc156747a38f26e008950e8a7043b1d45b4c7 2018-04-18
     Indent   = indent;
 }
 public static BookLocation FromChapter(EpubChapter chapter)
 {
     return(new BookLocation()
     {
         Location = chapter.HashLocation,  //.Anchor, -- hashlocation in this context is the part of the url after the hash like example.com/page#section31
         HtmlFileName = chapter.FileName(),
     });
 }