mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
html
This commit is contained in:
15
README.md
15
README.md
@@ -46,4 +46,17 @@ better error handling when files are unparseable
|
||||
new settings
|
||||
- default submission types
|
||||
- default file types
|
||||
- default lockAt offset
|
||||
- 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?
|
||||
@@ -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", () => {
|
||||
|
||||
@@ -18,7 +18,6 @@ export const removeHtmlDetails = (html: string) => {
|
||||
.replaceAll(/\\"/g, '"')
|
||||
.replaceAll(/\s/g, "")
|
||||
.replaceAll(/<hr\s*\/?>/g, "<hr>")
|
||||
.replaceAll(/<hr\s*\/?>/g, "<hr>")
|
||||
.replaceAll(/<br\s*\/?>/g, "<br>")
|
||||
.replaceAll(/>/g, "")
|
||||
.replaceAll(/</g, "")
|
||||
|
||||
Reference in New Issue
Block a user