MCPcopy
hub / github.com/witheve/Eve / replacer

Function replacer

src/commonmark.js:2918–2921  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

2916 replace = getReplacer(entityMap);
2917
2918 function replacer(str){
2919 if(str.substr(-1) !== ";") str += ";";
2920 return replace(str);
2921 }
2922
2923 //TODO consider creating a merged map
2924 return function(str){

Callers

nothing calls this directly

Calls 1

replaceFunction · 0.85

Tested by

no test coverage detected