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',