diff --git a/src/util.ts b/src/util.ts index 9d8e8c2..92921b6 100644 --- a/src/util.ts +++ b/src/util.ts @@ -26,7 +26,9 @@ import { import {notify} from "@kyvg/vue3-notification"; import {globalMessages, serverMessages} from "../messages"; -const headCache = new Map(), +const documentRange = document.createRange(), + brToSpaceRegex = /
/g, + headCache = new Map(), headUnresolvedCache = new Map>(), headsLoading = new Set(),