Fixed manga import by replacing double quotes to single quotes
When using the default double quotes the YAML formatting was no longer correct.
This commit is contained in:
parent
99bf06dda9
commit
93c46e5848
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ export class MALAPIManga extends APIModel {
|
|||
url: result.url,
|
||||
id: result.mal_id,
|
||||
|
||||
plot: result.synopsis,
|
||||
plot: (result.synopsis ?? 'unknown').replace(/"/g, "'") ?? 'unknown',
|
||||
genres: result.genres?.map((x: any) => x.name) ?? [],
|
||||
authors: result.authors?.map((x: any) => x.name) ?? [],
|
||||
chapters: result.chapters,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue