Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/devgutt/wdr-render-basic
/ htmlEntities
Function
htmlEntities
src/TextFormatting.js:55–57 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
53
}
54
55
function
htmlEntities(str) {
56
return
String(str).replace(/&/g,
'&'
).replace(/</g,
'<'
).replace(/>/g,
'>'
);
57
}
58
59
module.exports = textFormatting;
60
Callers
1
textFormatting
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected