From bc4fac5588e3e4ca9df5d3b9bb576c740d9aa9cc Mon Sep 17 00:00:00 2001 From: Christiaan Bloemendaal Date: Wed, 10 Jan 2024 10:15:48 +0100 Subject: [PATCH] fix(sources): trim mangastream chapter name --- .../Implementations/MangaStream/MangaStreamSourceBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mangarr.Backend/Sources/Implementations/MangaStream/MangaStreamSourceBase.cs b/src/Mangarr.Backend/Sources/Implementations/MangaStream/MangaStreamSourceBase.cs index 9103d8b..0e67590 100644 --- a/src/Mangarr.Backend/Sources/Implementations/MangaStream/MangaStreamSourceBase.cs +++ b/src/Mangarr.Backend/Sources/Implementations/MangaStream/MangaStreamSourceBase.cs @@ -97,7 +97,7 @@ protected override async Task> GetChapterList(string mangaId items.Add(new ChapterListItem( ConstructId(anchorElement.Href, url, chapterNumber.ToString()), - titleElement.TextContent, + titleElement.TextContent.Trim().Replace("\n",string.Empty).Replace("\t", string.Empty), chapterNumber, DateTime.Parse(dateElement.TextContent).Date, anchorElement.Href));