diff --git a/src/calibre/gui2/library/annotations.py b/src/calibre/gui2/library/annotations.py index 4567848aec..9a0985949d 100644 --- a/src/calibre/gui2/library/annotations.py +++ b/src/calibre/gui2/library/annotations.py @@ -758,7 +758,8 @@ class DetailsPanel(QWidget): if annot['type'] == 'bookmark': p(annot['title']) elif annot['type'] == 'highlight': - p(annot['highlighted_text']) + for line in annot['highlighted_text'].splitlines(): + p(line) notes = annot.get('notes') if notes: paras.append('