Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ scriptString
Function
scriptString
packages/core/src/oauth/page.ts:136–138 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
134
}
135
136
function
scriptString(value: string) {
137
return
JSON.stringify(value).replaceAll(
"<"
,
"\\u003c"
)
138
}
139
140
function
escapeHtml(value: string) {
141
return
value
Callers
1
bootstrapScript
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected