| 
			
			 | 
		#16 | 
| 
			
			
			
			 Chalut o/ 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 678910 
				Join Date: Dec 2017 
				
				
				
				Device: Kobo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			So, to get the expected behavior (like that of a W3C compliant browser) you have to add a specific Qt CSS property ?! (or to be exact, kept) 
		
	
		
		
		
		
		
		
		
		
		
		
		
			... Whoah. Great. Absolutely obvious. *sighs* All right, then. Just in case, could you try <p></p> if it works? I know currently than Calibre filter and delete empty paragraphs, but if it works, it would be probaly a more elegant solution. Last edited by un_pogaz; 01-16-2020 at 06:04 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No, empty paragraph is simply discarded by QTextBrowser. However, with yet another workaround for a Qt bug, <p> </p> does work, so I have changed it to that. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	https://github.com/kovidgoyal/calibr...ac2d06b4a01bfa  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Chalut o/ 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 678910 
				Join Date: Dec 2017 
				
				
				
				Device: Kobo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			YES, thanks. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Also work in 4.8 and propably all V4. EDIT: Arf NOoooo The HTML view repalce all entities. And worse, replace "unbreakable space" by "normal space" ![]() ![]() The HTML <p> </p> becomes <p> </p> (with normal space) and will therefore be deleted the next time it is loaded in HTML mode. Damnit  
		Last edited by un_pogaz; 01-16-2020 at 07:36 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#19 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Chalut o/ 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 678910 
				Join Date: Dec 2017 
				
				
				
				Device: Kobo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The update is arrived and bug report: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	When I switch from "HTML code" to "Normal View", this message appears and the changes are not saved. Spoiler: 
 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#21 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			weird I cannot reproduce o my development machine, must be specific to PyQt version, in any case this fixes it: https://github.com/kovidgoyal/calibr...9d7ad1fcabcaeb
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,292 
				Karma: 1428263 
				Join Date: Dec 2016 
				Location: Goiânia - Brazil 
				
				
				Device: iPad, Kindle Paperwhite, Kindle Oasis 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#23 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760 
				Karma: 9918418 
				Join Date: Feb 2013 
				Location: Here on the perimeter, there are no stars 
				
				
				Device: Kobo H2O, iPad mini 3, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Unfortunately, I have another 4.9 bug to report, which is unaffected by that patch. In the standard calibre "library list" view, highlighting multiple ebooks and selecting "Edit metadata individually" (either by typing "e" or using the context menu) brings up the bulk editor instead. EDIT: Almost forgot, there's another comments-editor bug that's persisted through at least the last few versions. When highlighting a boldface word or phrase from right to left, highlighting the "last" character (the first one in the word) causes the "bold" button to switch to "normal" status and neither clicking it nor pressing control-B has any effect. The selection stays bold, and only by highlighting from left to right can the it be debolded. The same goes for italics and underlined text, and it manifests in both the "review downloaded metadata" and "edit metadata individually" comment environments (which I expect use the same coding, but it's good to be thorough). Last edited by Rev. Bob; 01-23-2020 at 04:32 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#24 | 
| 
			
			
			
			 Chalut o/ 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 678910 
				Join Date: Dec 2017 
				
				
				
				Device: Kobo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			4.9.1 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Yes. It's works. Thanks you so mush Kovid.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#25 | |||
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 Quote: 
	
  | 
|||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#26 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262 
				Karma: 100000 
				Join Date: Oct 2012 
				
				
				
				Device: Calibre 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I get this issue, too. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Calibre 4.x adds a blank line Code: 
	<p><br></p>  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#27 | 
| 
			
			
			
			 Chalut o/ 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 678910 
				Join Date: Dec 2017 
				
				
				
				Device: Kobo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Read the topic 
		
	
		
		
		
		
		
		
		
		
		
		
		
			TLDR: The problem arose with the use of the new QtWebEngine in V4.0.0. The problem was solved in 4.9.1. However, I discovered that old comments made before 4.9 still retain the <p><br></p>, but this is normal, Calibre will correct and update the comment only when YOU make a edition. Last edited by un_pogaz; 03-05-2020 at 06:23 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#28 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			There is no such thing a calibre 4.x. The current release is 4.11.2, if you are not using that version then you should install it. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	As discussed in the preceding 20+ posts there were a couple updates in recent releases to address the 'blank lines in comments' issue. BR  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#29 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262 
				Karma: 100000 
				Join Date: Oct 2012 
				
				
				
				Device: Calibre 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#30 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Adding spaces after images and between paragraphs | awcross | Sigil | 7 | 06-14-2017 03:47 PM | 
| Stop Sigil from inserting unwanted lines between paragraphs | Benasam | Sigil | 16 | 05-28-2014 04:16 PM | 
| Adding space between paragraphs | Gazella | Conversion | 5 | 04-03-2014 05:35 PM | 
| Touch Extra spacing between paragraphs on my e-books | Aiden | Barnes & Noble NOOK | 8 | 12-11-2013 12:17 PM | 
| Getting extra Paragraphs | MacEvansCB | Calibre | 5 | 12-19-2010 03:46 PM |