From c98b6c8ad3e1dad5babbb4a1c60520ea68d5df45 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 26 Aug 2020 15:23:41 +0000 Subject: [PATCH] Fixed an issue with the generated tag for versioned bibxml entries under /doc/bibxml3 for drafts that have been published as RFC. - Legacy-Id: 18418 --- ietf/doc/views_doc.py | 1 + ietf/templates/doc/bibxml.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ietf/doc/views_doc.py b/ietf/doc/views_doc.py index fceedead5..7b76c7fb0 100644 --- a/ietf/doc/views_doc.py +++ b/ietf/doc/views_doc.py @@ -890,6 +890,7 @@ def document_bibxml(request, name, rev=None): return render(request, "doc/bibxml.xml", dict( + name=name, doc=doc, doc_bibtype='I-D', ), diff --git a/ietf/templates/doc/bibxml.xml b/ietf/templates/doc/bibxml.xml index 857ec3463..fd621454d 100644 --- a/ietf/templates/doc/bibxml.xml +++ b/ietf/templates/doc/bibxml.xml @@ -1,5 +1,5 @@ - + {{doc.title}}{% if doc.submission %}{% for author in doc.submission.authors %}