Skip to content

Commit

Permalink
element: Fix broken links for @xml:lang
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Mar 10, 2025
1 parent 6f1e24c commit f5e52d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iati_dashboard/ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,9 @@ def exploringdata_element_detail(request, element=None):
template = loader.get_template("element.html")
context = _make_context("elements", include_large_dicts=False)

context["element"] = element.replace("_", "/")
context["element"] = element.replace("_", "/").replace("xml:", "{http://www.w3.org/XML/1998/namespace}")

print(context["element"])

values = [
"id",
Expand Down

0 comments on commit f5e52d3

Please sign in to comment.