PDF Parser Changes (#3681)
This commit is contained in:
parent
da9f02f963
commit
5738014a88
6 changed files with 42 additions and 5 deletions
|
|
@ -39,9 +39,9 @@ public class ChapterBuilder : IEntityBuilder<Chapter>
|
|||
|
||||
return builder.WithNumber(Parser.RemoveExtensionIfSupported(info.Chapters)!)
|
||||
.WithRange(specialTreatment ? info.Filename : info.Chapters)
|
||||
.WithTitle((specialTreatment && info.Format == MangaFormat.Epub)
|
||||
.WithTitle(specialTreatment && info.Format is MangaFormat.Epub or MangaFormat.Pdf
|
||||
? info.Title
|
||||
: specialTitle)
|
||||
: specialTitle ?? string.Empty)
|
||||
.WithIsSpecial(specialTreatment);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue