diff --git a/web/main/case_xml_converter.py b/web/main/case_xml_converter.py index 4b5a50fd0..f26b60906 100644 --- a/web/main/case_xml_converter.py +++ b/web/main/case_xml_converter.py @@ -2,8 +2,6 @@ Convert between XML and HTML versions of CAP's formatted case data. """ -from pprint import pprint - import lxml.sax import lxml.html import xml.sax @@ -81,7 +79,7 @@ def startElement(self, name, attrs): "a", { "id": "p" + label, - "href": f"#p" + label, + "href": f"#p{label}", "data-label": label, "data-citation-index": attrs["citation-index"], "class": "page-label",