From fc0cfe90f7cd112b846e2bc67b982622e109db6f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 16 Feb 2016 19:04:09 +0530 Subject: [PATCH] ... --- src/pyj/book_list/book_details.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/book_list/book_details.pyj b/src/pyj/book_list/book_details.pyj index 3f937ae7a1..f4bd53da96 100644 --- a/src/pyj/book_list/book_details.pyj +++ b/src/pyj/book_list/book_details.pyj @@ -114,7 +114,7 @@ def render_metadata(mi, interface_data, table, field_list=None): for fmt in val: td = table.lastChild.lastChild td.appendChild(E.span(fmt, style='white-space: nowrap')) - if interface_data.input_formats[fmt]: + if interface_data.input_formats[fmt] or interface_data.input_formats[fmt.replace('ORIGINAL_', '')]: td.lastChild.appendChild(E.a( title=str.format(_('Read this book in the {} format'), fmt), href='javascript:void(0)', style='padding-left: 1em',