mirror of
				https://github.com/9001/copyparty.git
				synced 2025-10-31 12:43:13 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			481 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			481 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git a/src/js/easymde.js b/src/js/easymde.js
 | |
| --- a/src/js/easymde.js
 | |
| +++ b/src/js/easymde.js
 | |
| @@ -1962,7 +1962,7 @@ EasyMDE.prototype.markdown = function (text) {
 | |
|          marked.setOptions(markedOptions);
 | |
|  
 | |
|          // Convert the markdown to HTML
 | |
| -        var htmlText = marked(text);
 | |
| +        var htmlText = marked.parse(text);
 | |
|  
 | |
|          // Sanitize HTML
 | |
|          if (this.options.renderingConfig && typeof this.options.renderingConfig.sanitizerFunction === 'function') {
 |