View Single Post
Old 03-16-2021, 06:21 PM   #5681
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,992
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
description from ffnet doesn't have any HTML in it--just plain text--nor line breaks. replace_metadata is applied at that point, so there's no HTML to try and replace.

When FFF gives the description to Calibre for book comments, Calibre wraps it in <div><p> ... </p></div>.

You could use replace_metadata to add your own wrapping HTML tags; I believe what tags are already there may affect what Calibre adds.
JimmXinu is offline   Reply With Quote