fix: Missing button text for PostScript in RFC (#7889)
Resolves #7879 Signed-off-by: Seonghyeon Cho <seonghyeoncho96@gmail.com>
This commit is contained in:
parent
23e5307d2e
commit
061c89f3b5
|
@ -1046,6 +1046,8 @@ def build_file_urls(doc: Union[Document, DocHistory]):
|
||||||
|
|
||||||
file_urls = []
|
file_urls = []
|
||||||
for t in found_types:
|
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
|
label = "plain text" if t == "txt" else t
|
||||||
file_urls.append((label, base + doc.name + "." + t))
|
file_urls.append((label, base + doc.name + "." + t))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue