mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Also handle composite_show_in_comments in the content server
This commit is contained in:
parent
355cc1b24c
commit
4292dcbdda
@ -334,7 +334,7 @@ def render_metadata(mi, table, book_id, iframe_css): # {{{
|
||||
name = fm.name or field
|
||||
datatype = fm.datatype
|
||||
val = mi[field]
|
||||
if field is 'comments' or datatype is 'comments':
|
||||
if field is 'comments' or datatype is 'comments' or fm.display?.composite_show_in_comments:
|
||||
if not val:
|
||||
return
|
||||
ias = fm.display?.interpret_as or 'html'
|
||||
|
Loading…
x
Reference in New Issue
Block a user