def _api_CDocument_write(self, event): event["raw"] = "lines", for idx, line in enumerate(event["arguments"]["lines"]): event["arguments"]["lines"][idx] = htmlprettify(line)
def _api_CElement_put_innerHTML(self, event): event["raw"] = "html", event["arguments"]["html"] = htmlprettify(event["arguments"]["html"])