From 5852de9746dd8e8b4008340bbec14035d5c0ed5f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 26 May 2022 13:17:56 +0100 Subject: [PATCH] Log svg scripts for subsequent review --- content.py | 14 +++++++++++++- inbox.py | 10 ++++++++-- tests.py | 4 ++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/content.py b/content.py index e0d8dcd46..5dfc5c03b 100644 --- a/content.py +++ b/content.py @@ -1683,7 +1683,8 @@ def create_edits_html(edits_json: {}, post_json_object: {}, edits_str + '' -def remove_script(content: str) -> str: +def remove_script(content: str, log_filename: str, + actor: str, url: str) -> str: """Removes