diff --git a/src/pyj/book_list/book_details.pyj b/src/pyj/book_list/book_details.pyj index e15dba88cb..25e7a86320 100644 --- a/src/pyj/book_list/book_details.pyj +++ b/src/pyj/book_list/book_details.pyj @@ -328,7 +328,7 @@ def render_metadata(mi, table, book_id, iframe_css): # {{{ val = E.span(val).outerHTML else: if field is 'comments' and '<' not in val: - val = '\n'.join(['
{}
'.format(x.pyreplace('\n', '{}
'.format(x.replace(/\n/g, '