|
diff --git a/src/pages/root.tsx b/src/pages/root.tsx
index bf1a73c..f2a83de 100644
--- a/src/pages/root.tsx
+++ b/src/pages/root.tsx
@@ -126,9 +126,8 @@ export const root = new Elysia().use(userService).get(
@@ -136,8 +135,8 @@ export const root = new Elysia().use(userService).get(
@@ -191,7 +190,7 @@ export const root = new Elysia().use(userService).get(
// https://stackoverflow.com/questions/121499/when-a-blur-event-occurs-how-can-i-find-out-which-element-focus-went-to#comment82388679_33325953
tabindex={0}
class={`
- target rounded-sm bg-neutral-700 p-1 text-base
+ target rounded bg-neutral-700 p-1 text-base
hover:bg-neutral-600
`}
data-value={`${target},${converter}`}
diff --git a/tests/converters/libreoffice.test.ts b/tests/converters/libreoffice.test.ts
index 5d34d45..4d07f1e 100644
--- a/tests/converters/libreoffice.test.ts
+++ b/tests/converters/libreoffice.test.ts
@@ -63,7 +63,7 @@ test("invokes soffice with --headless and outdir derived from targetPath", async
expect(cmd).toBe("soffice");
expect(args).toEqual([
"--headless",
- "--infilter=MS Word 2007 XML",
+ `--infilter="MS Word 2007 XML"`,
"--convert-to",
"odt:writer8",
"--outdir",
@@ -77,15 +77,8 @@ test("uses only outFilter when input has no filter (e.g., pdf -> txt)", async ()
const { args } = requireDefined(calls[0], "Expected at least one execFile call");
- expect(args).toEqual([
- "--headless",
- "--infilter=writer_pdf_import",
- "--convert-to",
- "txt:Text",
- "--outdir",
- "out",
- "in.pdf",
- ]);
+ expect(args).not.toContainEqual(expect.stringMatching(/^--infilter=/));
+ expect(args).toEqual(["--headless", "--convert-to", "txt", "--outdir", "out", "in.pdf"]);
});
test("uses only infilter when convertTo has no out filter (e.g., docx -> pdf)", async () => {
|