mirror of
				https://git.proxmox.com/git/proxmox-widget-toolkit
				synced 2025-10-31 04:18:58 +00:00 
			
		
		
		
	parser: adapt to new marked Markdown renderer calling convention
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		
							parent
							
								
									b515e164b7
								
							
						
					
					
						commit
						9dba61e674
					
				| @ -55,7 +55,7 @@ Ext.define('Proxmox.Markdown', { | ||||
| 
 | ||||
|     parse: function(markdown) { | ||||
| 	/*global marked*/ | ||||
| 	let unsafeHTML = marked(markdown); | ||||
| 	let unsafeHTML = marked.parse(markdown); | ||||
| 
 | ||||
| 	return `<div class="pmx-md">${this.sanitizeHTML(unsafeHTML)}</div>`; | ||||
|     }, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thomas Lamprecht
						Thomas Lamprecht