Hello
Thanks for calibre, great tool.
I use "calibredb set_metadata -f comment" to update the comments (from a CSV, by hundreds in a loop, over linux)
I give a specific valid HTML string in a doublequotes, that I want to go in the "comment" field, but in the end, the HTML is messed-up in the 'comment section.
snipet:
Code:
calibredb --username=xxx --password=xxx --with-library=http://xxx:2525/#bibi set_metadata -f 'comments:0<br><ul><li>a.B</li></ul>' 4991
then I have this STDOUT:
Code:
Title : 1849-10-20-[FG.corresp.B02-4-litt-12 1849-10-20 comme je vous l'ai promis]
[snip]
Comments : 0<br><ul><li>a.B</li></ul>
[snip]
which tells the calibredb accepted my HTML string.
But when I open the ebook and look at the description field:
Code:
<div><p class="description">0<br></p><ul><li>a.<p class="description">B</p></li></ul></div>
My string "a.B" is splitted into two paragraphs. WTH?
It was splitted by a <p class="description"> tag.
What can I do to avoid this?