| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -129,7 +129,7 @@ def html(_uri,_config) :
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            
 | 
					 | 
					 | 
					 | 
					            
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            _api = os.sep.join([f'{_context}/api/disk/read?uri=',copy.copy(_layout['root'])])
 | 
					 | 
					 | 
					 | 
					            _api = os.sep.join([f'{_context}/api/disk/read?uri=',copy.copy(_layout['root'])])
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            
 | 
					 | 
					 | 
					 | 
					            
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if f"{_layout['root']}{os.sep}" in _html :
 | 
					 | 
					 | 
					 | 
					        if f"{_layout['root']}" in _html :
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            _html = _html.replace('/api/disk/read?uri=','').replace(f"{_layout['root']}",_api)
 | 
					 | 
					 | 
					 | 
					            _html = _html.replace('/api/disk/read?uri=','').replace(f"{_layout['root']}",_api)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    _html = mistune.html(_html).replace(""",'"').replace("<","<").replace(">",">") if _uri[-2:] in ['md','MD','Md','mD'] else _html
 | 
					 | 
					 | 
					 | 
					    _html = mistune.html(_html).replace(""",'"').replace("<","<").replace(">",">") if _uri[-2:] in ['md','MD','Md','mD'] else _html
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    # _html = _html.replace(f'{os.sep}{_layout["root"]}',_layout['root'])
 | 
					 | 
					 | 
					 | 
					    # _html = _html.replace(f'{os.sep}{_layout["root"]}',_layout['root'])
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |