Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ escapeHtmlText
Function
escapeHtmlText
static/word2md/mammoth.browser.js:3406–3411 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
3404
}
3405
3406
function
escapeHtmlText(value) {
3407
return
value
3408
.replace(/&/g,
'&'
)
3409
.replace(/</g,
'<'
)
3410
.replace(/>/g,
'>'
);
3411
}
3412
3413
function
escapeHtmlAttribute(value) {
3414
return
value
Callers
1
text
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected