Skip to content

fix: Add missing closing brace in meta tag and updated/obsoleted-by info - #5265

Merged
rjsparks merged 4 commits into
ietf-tools:mainfrom
larseggert:fix-3379
Mar 3, 2023
Merged

fix: Add missing closing brace in meta tag and updated/obsoleted-by info#5265
rjsparks merged 4 commits into
ietf-tools:mainfrom
larseggert:fix-3379

Conversation

@larseggert

Copy link
Copy Markdown
Collaborator

Fixes #3379

@codecov

codecov Bot commented Mar 2, 2023

Copy link
Copy Markdown

Codecov Report

Merging #5265 (7a256a8) into main (0ec1264) will decrease coverage by 0.01%.
The diff coverage is 94.44%.

@@            Coverage Diff             @@
##             main    #5265      +/-   ##
==========================================
- Coverage   88.58%   88.57%   -0.01%     
==========================================
  Files         295      294       -1     
  Lines       40114    40071      -43     
==========================================
- Hits        35534    35493      -41     
+ Misses       4580     4578       -2     
Impacted Files Coverage Δ
ietf/iesg/urls.py 100.00% <ø> (ø)
ietf/meeting/models.py 86.03% <ø> (-0.05%) ⬇️
ietf/meeting/urls.py 81.25% <ø> (ø)
ietf/iesg/views.py 92.53% <85.18%> (-0.71%) ⬇️
ietf/doc/mails.py 96.20% <100.00%> (ø)
ietf/doc/utils_search.py 80.58% <100.00%> (ø)
ietf/group/views.py 90.95% <100.00%> (+0.09%) ⬆️
ietf/ietfauth/views.py 92.12% <100.00%> (+1.09%) ⬆️
ietf/meeting/helpers.py 89.84% <100.00%> (-0.07%) ⬇️
ietf/meeting/views.py 91.12% <100.00%> (-0.01%) ⬇️
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@larseggert larseggert changed the title fix: Add missing closing brace in meta tag fix: Add missing closing brace in meta tag and updated/obsoleted-by info Mar 2, 2023
Comment thread ietf/templates/doc/document_html.html Outdated
<meta name="description"
{% if not snapshot and doc.get_state_slug == 'rfc' %}
content="{{ doc.title }} (RFC {{ doc.rfc_number }}{% if published %}, {{ published.time|date:'F Y' }}{% endif %}{% if obsoleted_by %}; obsoleted by {{ obsoleted_by|join:', ' }}{% endif %}"
content="{{ doc.title }} (RFC {{ doc.rfc_number }}{% if published %}, {{ published.time|date:'F Y' }}{% endif %}{% if obsoleted_by %}; obsoleted by {% for rel in obsoleted_by %}{{ rel.source.name|prettystdname}}{% if not forloop.last%}, {% endif %}{% endfor %}{% endif %})"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't quite right yet. For RFC8889, we get:

     <meta name="description"
            
                content="Multipoint Alternate-Marking Method for Passive and Hybrid Performance Monitoring (RFC 8889, August 2020; obsoleted by draft-ietf-ippm-rfc8889bis)"
            >

where instead of draft-ietf-ippm-rfc8889bis we should be getting RFC 9342

@larseggert
larseggert requested a review from rjsparks March 3, 2023 06:59
@rjsparks
rjsparks merged commit 1d87686 into ietf-tools:main Mar 3, 2023
@larseggert
larseggert deleted the fix-3379 branch March 3, 2023 17:06
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing RFC number in meta description tag

2 participants