MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / is_html

Method is_html

src/bitmessageqt/safehtmlparser.py:115–122  ·  view source on GitHub ↗
(self, text = None, allow_picture = False)

Source from the content-addressed store, hash-verified

113 self.raw += tmp
114
115 def is_html(self, text = None, allow_picture = False):
116 if text:
117 self.reset()
118 self.reset_safe()
119 self.allow_picture = allow_picture
120 self.feed(text)
121 self.close()
122 return self.has_html

Callers

nothing calls this directly

Calls 4

reset_safeMethod · 0.95
feedMethod · 0.95
resetMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected