Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/braziljs/eloquente-javascript
/ escape
Function
escape
src/render_html.mjs:46–46 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
44
return
ch ==
"<"
?
"<"
: ch ==
">"
?
">"
: ch ==
"&"
?
"&"
:
"""
45
}
46
function
escape(str) {
return
str.replace(/[<>&"]/g, escapeChar) }
47
48
// FIXME http highlighting
49
Callers
7
highlight
Function · 0.70
attrs
Function · 0.70
text
Function · 0.70
code_inline
Function · 0.70
link_open
Function · 0.70
meta_figure
Function · 0.70
meta_quote_close
Function · 0.70
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected