Silence MARKDOWN debug
This commit is contained in:
		
							parent
							
								
									21b2a01a84
								
							
						
					
					
						commit
						997380152e
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -1,7 +1,12 @@ | ||||||
|  | import logging | ||||||
|  | 
 | ||||||
| import bleach | import bleach | ||||||
| import markdown | import markdown | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | logger = logging.getLogger('MARKDOWN') | ||||||
|  | logger.setLevel(logging.INFO) | ||||||
|  | 
 | ||||||
| tags = bleach.sanitizer.ALLOWED_TAGS[:] | tags = bleach.sanitizer.ALLOWED_TAGS[:] | ||||||
| tags.extend(['p', 'pre']) | tags.extend(['p', 'pre']) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Sachi King
						Sachi King