diff --git a/ietf/doc/views_doc.py b/ietf/doc/views_doc.py index fa24d63a8..8408f5a0c 100644 --- a/ietf/doc/views_doc.py +++ b/ietf/doc/views_doc.py @@ -210,8 +210,8 @@ def document_main(request, name, rev=None, document_html=False): snapshot = False gh = None - if rev: - # find the entry in the history + if rev and rev != doc.rev: + # find the entry in the history if the rev requested is not the current rev for h in doc.history_set.order_by("-time"): if rev == h.rev: snapshot = True