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
This commit is contained in:
Henrik Levkowetz 2020-08-26 15:23:41 +00:00
parent 465063d0ec
commit c98b6c8ad3
2 changed files with 2 additions and 1 deletions

View file

@ -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',
),

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<reference anchor="{{doc_bibtype}}.{{doc.name|slice:"6:"}}">
<reference anchor="{{doc_bibtype}}.{{name|slice:"6:"}}">
<front>
<title>{{doc.title}}</title>{% if doc.submission %}{% for author in doc.submission.authors %}
<author fullname="{{ author.name }}">