MCPcopy Create free account
hub / github.com/secdev/scapy / to_html

Function to_html

scapy/autorun.py:242–244  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

240 ct = conf.color_theme
241
242 def to_html(s):
243 # type: (str) -> str
244 return s.replace("<", "&lt;").replace(">", "&gt;").replace("#[#", "<").replace("#]#", ">") # noqa: E501
245 try:
246 try:
247 conf.color_theme = HTMLTheme2()

Callers 1

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…