MCPcopy Create free account
hub / github.com/witheve/Eve / normalizeURI

Function normalizeURI

src/commonmark.js:935–942  ·  view source on GitHub ↗
(uri)

Source from the content-addressed store, hash-verified

933};
934
935var normalizeURI = function(uri) {
936 try {
937 return encode(decode(uri));
938 }
939 catch(err) {
940 return uri;
941 }
942};
943
944var replaceUnsafeChar = function(s) {
945 switch (s) {

Callers 2

parseAutolinkFunction · 0.85
parseLinkDestinationFunction · 0.85

Calls 2

encodeFunction · 0.85
decodeFunction · 0.85

Tested by

no test coverage detected