MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / html_quote

Function html_quote

thirdparty/bottle/bottle.py:3495–3498  ·  view source on GitHub ↗

Escape and quote a string to be used as an HTTP attribute.

(string)

Source from the content-addressed store, hash-verified

3493
3494
3495def html_quote(string):
3496 """ Escape and quote a string to be used as an HTTP attribute."""
3497 return '"%s"' % html_escape(string).replace('\n', '
')\
3498 .replace('\r', '
').replace('\t', '	')
3499
3500
3501def yieldroutes(func):

Callers

nothing calls this directly

Calls 2

html_escapeFunction · 0.85
replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…