Addresses #170 Manganato authors and genres include "\r\n"
This commit is contained in:
parent
5bdbd9e2e4
commit
c69f1f6569
@ -98,6 +98,8 @@ public class Manganato : MangaConnector
|
||||
break;
|
||||
case "authors":
|
||||
authors = value.Split('-');
|
||||
for (int i = 0; i < authors.Length; i++)
|
||||
authors[i] = authors[i].Replace("\r\n", "");
|
||||
break;
|
||||
case "status":
|
||||
switch (value.ToLower())
|
||||
@ -108,6 +110,8 @@ public class Manganato : MangaConnector
|
||||
break;
|
||||
case "genres":
|
||||
string[] genres = value.Split(" - ");
|
||||
for (int i = 0; i < genres.Length; i++)
|
||||
genres[i] = genres[i].Replace("\r\n", "");
|
||||
tags = genres.ToHashSet();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user