mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	Merge branch 'master' into next61
# Conflicts: # package-lock.json # src/public/app/services/note_content_renderer.js # src/public/app/widgets/note_tree.js # src/routes/routes.js # src/services/consistency_checks.js # src/services/notes.js # src/services/task_context.js
This commit is contained in:
		| @@ -99,7 +99,7 @@ function parseSelectedHtml(selectedHtml) { | ||||
|  | ||||
|     if (dom.length > 0 && dom[0].tagName && dom[0].tagName.match(/h[1-6]/i)) { | ||||
|         const title = $(dom[0]).text(); | ||||
|         // remove the title from content (only first occurence) | ||||
|         // remove the title from content (only first occurrence) | ||||
|         const content = selectedHtml.replace(dom[0].outerHTML, ""); | ||||
|  | ||||
|         return [title, content]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user