diff --git a/README.md b/README.md index 4b18042..1a62e45 100644 --- a/README.md +++ b/README.md @@ -46,4 +46,17 @@ better error handling when files are unparseable new settings - default submission types - default file types -- default lockAt offset \ No newline at end of file +- default lockAt offset + +websocket server to watch file system for changes, notify frontend it should invalidate cache + +lectures +- create 1 lecture for a given day +- have a way of running a lecture from an unauthenticated computer? maybe just view lecture notes? + + +tighter integration with git +- regularly make git commits +- handle merging? +- maybe a different storage backend? +- user motivated restore? \ No newline at end of file diff --git a/nextjs/src/services/utils/htmlIsCloseEnough.test.ts b/nextjs/src/services/utils/htmlIsCloseEnough.test.ts index 08c2d45..b340877 100644 --- a/nextjs/src/services/utils/htmlIsCloseEnough.test.ts +++ b/nextjs/src/services/utils/htmlIsCloseEnough.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from "vitest"; -import { htmlIsCloseEnough, removeHtmlDetails } from "./htmlIsCloseEnough"; +import { removeHtmlDetails } from "./htmlIsCloseEnough"; describe("html can be close enough", () => { it("scenario 1", () => { diff --git a/nextjs/src/services/utils/htmlIsCloseEnough.ts b/nextjs/src/services/utils/htmlIsCloseEnough.ts index 68500df..b9655ad 100644 --- a/nextjs/src/services/utils/htmlIsCloseEnough.ts +++ b/nextjs/src/services/utils/htmlIsCloseEnough.ts @@ -18,7 +18,6 @@ export const removeHtmlDetails = (html: string) => { .replaceAll(/\\"/g, '"') .replaceAll(/\s/g, "") .replaceAll(//g, "
") - .replaceAll(//g, "
") .replaceAll(//g, "
") .replaceAll(/>/g, "") .replaceAll(/</g, "")