From 1d87686a2bae67db0d45f6fea909c0e73856571c Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Fri, 3 Mar 2023 18:49:15 +0200 Subject: [PATCH] fix: Add missing closing brace in meta tag and updated/obsoleted-by info (#5265) * fix: Add missing closing brace in meta tag Fixes #3379 * Also fix "obsoleted by" meta information * name -> canonical_name --- ietf/templates/doc/document_draft.html | 2 +- ietf/templates/doc/document_html.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/templates/doc/document_draft.html b/ietf/templates/doc/document_draft.html index 72256b632..b38225dd4 100644 --- a/ietf/templates/doc/document_draft.html +++ b/ietf/templates/doc/document_draft.html @@ -13,7 +13,7 @@ title="Document changes" href="/feed/document-changes/{{ name }}/"> + content="{{ doc.title }} {% if doc.get_state_slug == 'rfc' and not snapshot %}(RFC {{ rfc_number }}{% if published %}, {{ doc.pub_date|date:'F Y' }}{% endif %}{% if obsoleted_by %}; obsoleted by {% for rel in obsoleted_by %}{{ rel.source.canonical_name|prettystdname}}{% if not forloop.last%}, {% endif %}{% endfor %}{% endif %}){% endif %}"> {% endblock %} {% block morecss %}.inline { display: inline; }{% endblock %} {% block title %} diff --git a/ietf/templates/doc/document_html.html b/ietf/templates/doc/document_html.html index 9823a0d37..7ee8f8124 100644 --- a/ietf/templates/doc/document_html.html +++ b/ietf/templates/doc/document_html.html @@ -34,7 +34,7 @@ href="/feed/document-changes/{{ doc.name }}/">