Skip to content

Commit

Permalink
fix: Missing button text for PostScript in RFC (#7889)
Browse files Browse the repository at this point in the history
Resolves #7879

Signed-off-by: Seonghyeon Cho <[email protected]>
  • Loading branch information
sh-cho authored Sep 3, 2024
1 parent 23e5307 commit 061c89f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ietf/doc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,8 @@ def build_file_urls(doc: Union[Document, DocHistory]):

file_urls = []
for t in found_types:
if t == "ps": # Postscript might have been submitted but should not be displayed in the list of URLs
continue
label = "plain text" if t == "txt" else t
file_urls.append((label, base + doc.name + "." + t))

Expand Down

0 comments on commit 061c89f

Please sign in to comment.