mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	Fix entity detecting regexp in opy metadata reader.
This commit is contained in:
		
							parent
							
								
									aebce8ac6f
								
							
						
					
					
						commit
						138ab98490
					
				@ -92,7 +92,7 @@ class TOC(list):
 | 
			
		||||
 | 
			
		||||
class OPFReader(MetaInformation):
 | 
			
		||||
    
 | 
			
		||||
    ENTITY_PATTERN = re.compile(r'&(\S+);')
 | 
			
		||||
    ENTITY_PATTERN = re.compile(r'&(\S+?);')
 | 
			
		||||
    
 | 
			
		||||
    def __init__(self, stream, dir=os.getcwd()):
 | 
			
		||||
        manage = False
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user