Skip to content

Commit c98b6c8

Browse files
committed
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
1 parent 465063d commit c98b6c8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/doc/views_doc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ def document_bibxml(request, name, rev=None):
890890

891891
return render(request, "doc/bibxml.xml",
892892
dict(
893+
name=name,
893894
doc=doc,
894895
doc_bibtype='I-D',
895896
),

ietf/templates/doc/bibxml.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<reference anchor="{{doc_bibtype}}.{{doc.name|slice:"6:"}}">
2+
<reference anchor="{{doc_bibtype}}.{{name|slice:"6:"}}">
33
<front>
44
<title>{{doc.title}}</title>{% if doc.submission %}{% for author in doc.submission.authors %}
55
<author fullname="{{ author.name }}">

0 commit comments

Comments
 (0)