mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1278 (calibredb inserting <PRE> tags around Summary)
This commit is contained in:
parent
fe5e125e92
commit
a4efa9b305
@ -82,7 +82,7 @@ STANZA_TEMPLATE='''\
|
|||||||
<link py:if="record['cover']" rel="x-stanza-cover-image" type="image/png" href="${quote(record['cover'].replace(sep, '/')).replace('http%3A', 'http:')}" />
|
<link py:if="record['cover']" rel="x-stanza-cover-image" type="image/png" href="${quote(record['cover'].replace(sep, '/')).replace('http%3A', 'http:')}" />
|
||||||
<link py:if="record['cover']" rel="x-stanza-cover-image-thumbnail" type="image/png" href="${quote(record['cover'].replace(sep, '/')).replace('http%3A', 'http:')}" />
|
<link py:if="record['cover']" rel="x-stanza-cover-image-thumbnail" type="image/png" href="${quote(record['cover'].replace(sep, '/')).replace('http%3A', 'http:')}" />
|
||||||
<content type="xhtml">
|
<content type="xhtml">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml"><pre>${record['comments']}</pre></div>
|
<div xmlns="http://www.w3.org/1999/xhtml">${record['comments']}</div>
|
||||||
</content>
|
</content>
|
||||||
</entry>
|
</entry>
|
||||||
</py:for>
|
</py:for>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user