Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ escapeHtml
Function
escapeHtml
static/word2md/word2md.js:125–131 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
123
}
124
125
function
escapeHtml(value) {
126
return
value
127
.replace(/&/g,
'&'
)
128
.replace(/"/g,
'"'
)
129
.replace(/</g,
'<'
)
130
.replace(/>/g,
'>'
);
131
}
132
})();
Callers
1
displayResult
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected