Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/markmap/markmap
/ escapeScript
Function
escapeScript
packages/markmap-common/src/html.ts:13–15 ·
view source on GitHub ↗
(content: string)
Source
from the content-addressed store, hash-verified
11
}
12
13
export
function
escapeScript(content: string): string {
14
return
content.replace(/<(\/script>)/g,
'\\x3c$2'
);
15
}
16
17
export
function
htmlOpen(
18
tagName: string,
Callers
1
persistJS
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected