MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _escape_attrib

Function _escape_attrib

lib/matplotlib/backends/backend_svg.py:84–90  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

82
83
84def _escape_attrib(s):
85 s = s.replace("&", "&")
86 s = s.replace("'", "'")
87 s = s.replace('"', """)
88 s = s.replace("<", "&lt;")
89 s = s.replace(">", "&gt;")
90 return s
91
92
93def _quote_escape_attrib(s):

Callers 1

_quote_escape_attribFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…