MCPcopy Create free account
hub / github.com/breck7/scroll / htmlEscaped

Method htmlEscaped

external/.scrollLibs.js:14084–14086  ·  view source on GitHub ↗
(content = "")

Source from the content-addressed store, hash-verified

14082 return "a"
14083 }
14084 static htmlEscaped(content = "") {
14085 return content.replace(/</g, "&lt;")
14086 }
14087 static isValidEmail(email = "") {
14088 return email.toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)
14089 }

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected