MCPcopy Create free account
hub / github.com/ampproject/amphtml / cssEscape

Function cssEscape

third_party/css-escape/css-escape.js:48–50  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

46 * @return {string}
47 */
48export function cssEscape(value) {
49 return String(value).replace(regex, escaper);
50}

Callers 1

escapeCssSelectorIdentFunction · 0.90

Calls 2

StringFunction · 0.50
replaceMethod · 0.45

Tested by

no test coverage detected