mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-21 17:06:11 +01:00
...
This commit is contained in:
parent
d0cd330c3b
commit
ed4c499e53
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ def generate_html(comments):
|
|||
elif dt == 'rating':
|
||||
args[dkey] = rating_to_stars(mi.get(key), m.get('display', {}).get('allow_half_stars', False))
|
||||
elif dt == 'comments':
|
||||
val = val or ''
|
||||
display = m.get('display', {})
|
||||
ctype = display.get('interpret_as') or 'html'
|
||||
if ctype == 'long-text':
|
||||
|
|
|
|||
Loading…
Reference in a new issue