(self, incoming_html)
| 299 | return html |
| 300 | |
| 301 | def sanitize(self, incoming_html): |
| 302 | if type(incoming_html) == bytes: |
| 303 | pass |
| 304 | else: |
| 305 | incoming_html = incoming_html.encode() |
| 306 | return html.escape(incoming_html.decode(), quote=True) |
| 307 | |
| 308 | def add_ua_data(self, uaobject): |
| 309 | difference = abs(len(self.source_code) - len(uaobject.source_code)) |
no outgoing calls
no test coverage detected