View Single Post
Old 04-11-2019, 11:58 AM   #35
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by kovidgoyal View Post
At which step is it getting duplicated? During extraction from the original column by the plugin or during search and replace?
Neither.

Viewing in the "Book details" window show extra line spacing in comments and when opening the book record in "Edit metadata individually", the <br> tags get duplicated.

If I click "Cancel" in the "Edit Metadata" (individual) dialog/window, the actual comments code remains unchanged (no <p class="description"></p>; <br> tags not duplicated) as verified with template tester: {comments}.

Again, I don't actually have new line characters in comments. I just added those in my earlier posts for readability to more easily show the duplication. The actual comments field is as follows:
Code:
Published: 2016-10-31 Updated: 2019-02-03 Chapters: 71/? Words: 171444<br><br><b>Summary</b><br>"But you, Lord Snow, you'll be fighting their battles forever." Ser Alliser Thorne<br><br>Every time he died his last in that life he awoke again in another at the exact moment of Ghost's birth.
Attached Thumbnails
Click image for larger version

Name:	Calibre Portable 3.40.1.png
Views:	245
Size:	101.3 KB
ID:	170661   Click image for larger version

Name:	Calibre Portable 3.40.3 Beta.png
Views:	242
Size:	102.5 KB
ID:	170662  

Last edited by ilovejedd; 04-11-2019 at 02:00 PM.
ilovejedd is offline   Reply With Quote