From 93c46e58485fc5d3d92d65a653efc281a27eb0a6 Mon Sep 17 00:00:00 2001 From: ltctceplrm <14954927+ltctceplrm@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:27:51 +0100 Subject: [PATCH] Fixed manga import by replacing double quotes to single quotes When using the default double quotes the YAML formatting was no longer correct. --- src/api/apis/MALAPIManga.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/apis/MALAPIManga.ts b/src/api/apis/MALAPIManga.ts index a50b5ff..7cea003 100644 --- a/src/api/apis/MALAPIManga.ts +++ b/src/api/apis/MALAPIManga.ts @@ -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,