diff --git a/jsonfixer.py b/jsonfixer.py index 2b8a5bf..fe1f614 100644 --- a/jsonfixer.py +++ b/jsonfixer.py @@ -148,8 +148,11 @@ def main(): if args.indexsections: if i["model"] == "eoapublications.indexsection": fulltext = i["fields"]["Html"] - cleaned_index = treat_indexsections(fulltext) - i["fields"]["Html"] = cleaned_index + if fulltext.startswith("