(value: string)
| 121 | const ACTIVE_TAG_PARSE_LARGE_BODY_DELAY_MS = 900; |
| 122 | |
| 123 | function escapeForAttr(value: string): string { |
| 124 | if (typeof CSS !== "undefined" && typeof CSS.escape === "function") |
| 125 | return CSS.escape(value); |
| 126 | return value.replace(/["\\]/g, "\\$&"); |
| 127 | } |
| 128 | |
| 129 | function sidebarAnchorSelectorForElement(el: HTMLElement): string | null { |
| 130 | const type = el.dataset.sidebarType; |
no outgoing calls
no test coverage detected