Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/braziljs/eloquente-javascript
/ maybeSplitInlineCode
Function
maybeSplitInlineCode
src/render_html.mjs:71–74 ·
view source on GitHub ↗
(html)
Source
from the content-addressed store, hash-verified
69
}
70
71
function
maybeSplitInlineCode(html) {
72
if
(html.length <= 16)
return
html
73
return
html.replace(/[.\/](?!\/)/g, `$&<wbr${close}>`)
74
}
75
76
const
seenIDs = Object.create(null)
77
function
anchor(token) {
Callers
1
code_inline
Function · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected