Skip to content

Commit 93c46e5

Browse files
authored
Fixed manga import by replacing double quotes to single quotes
When using the default double quotes the YAML formatting was no longer correct.
1 parent 99bf06d commit 93c46e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/apis/MALAPIManga.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class MALAPIManga extends APIModel {
105105
url: result.url,
106106
id: result.mal_id,
107107

108-
plot: result.synopsis,
108+
plot: (result.synopsis ?? 'unknown').replace(/"/g, "'") ?? 'unknown',
109109
genres: result.genres?.map((x: any) => x.name) ?? [],
110110
authors: result.authors?.map((x: any) => x.name) ?? [],
111111
chapters: result.chapters,

0 commit comments

Comments
 (0)