Skip to content

Commit

Permalink
Merge pull request #8162 from kesara/feat/idnits3
Browse files Browse the repository at this point in the history
fix: Use correct text label for filtering
  • Loading branch information
kesara authored Nov 5, 2024
2 parents c066d77 + 7aca1ed commit e7023f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/doc/views_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ def document_main(request, name, rev=None, document_html=False):
if 'xml' in found_types:
nits_url = f"{settings.IDNITS3_BASE_URL}?url={[fu[1] for fu in file_urls if fu[0] == 'xml'][0]}"
elif 'txt' in found_types:
nits_url = f"{settings.IDNITS_BASE_URL}?url={[fu[1] for fu in file_urls if fu[0] == 'txt'][0]}"
nits_url = f"{settings.IDNITS_BASE_URL}?url={[fu[1] for fu in file_urls if fu[0] == 'plain text'][0]}"


html = None
Expand Down

0 comments on commit e7023f5

Please sign in to comment.