mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-03 21:43:12 +00: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') {
 |