Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
48
export
function
cssEscape(value) {
49
return
String(value).replace(regex, escaper);
50
}
Callers
1
escapeCssSelectorIdent
Function · 0.90
Calls
2
String
Function · 0.50
replace
Method · 0.45
Tested by
no test coverage detected