From eb6fa276de9f0d7ee4acf87ee3b7c21076752f00 Mon Sep 17 00:00:00 2001 From: 54wedge Date: Wed, 19 Nov 2025 20:59:04 +0800 Subject: [PATCH] fix(txt): register style.css to content.opf (#2476) * fix(txt): register style.css to content.opf * refactor: code styling --------- Co-authored-by: Huang Xin --- apps/readest-app/src/utils/txt.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/readest-app/src/utils/txt.ts b/apps/readest-app/src/utils/txt.ts index 377176d4..8dec33d4 100644 --- a/apps/readest-app/src/utils/txt.ts +++ b/apps/readest-app/src/utils/txt.ts @@ -385,6 +385,7 @@ export class TxtToEpubConverter { } const tocManifest = ``; + const styleManifest = ``; // Add content.opf file const contentOpf = ` @@ -398,6 +399,7 @@ export class TxtToEpubConverter { ${manifest} ${tocManifest} + ${styleManifest} ${spine}