|
diff --git a/src/pages/root.tsx b/src/pages/root.tsx
index f2a83de..bf1a73c 100644
--- a/src/pages/root.tsx
+++ b/src/pages/root.tsx
@@ -126,8 +126,9 @@ export const root = new Elysia().use(userService).get(
@@ -135,8 +136,8 @@ export const root = new Elysia().use(userService).get(
@@ -190,7 +191,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 bg-neutral-700 p-1 text-base
+ target rounded-sm 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 4d07f1e..5d34d45 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,8 +77,15 @@ 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).not.toContainEqual(expect.stringMatching(/^--infilter=/));
- expect(args).toEqual(["--headless", "--convert-to", "txt", "--outdir", "out", "in.pdf"]);
+ expect(args).toEqual([
+ "--headless",
+ "--infilter=writer_pdf_import",
+ "--convert-to",
+ "txt:Text",
+ "--outdir",
+ "out",
+ "in.pdf",
+ ]);
});
test("uses only infilter when convertTo has no out filter (e.g., docx -> pdf)", async () => {
|