mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	better filtering of empty HTML content (just tags and whitespace)
This commit is contained in:
		| @@ -210,10 +210,6 @@ async function saveNoteImages(noteId, noteText, sourceId) { | ||||
| } | ||||
|  | ||||
| async function updateNote(noteId, newNote, dataKey, sourceId) { | ||||
|     if (newNote.detail.note_text === '<p> </p>') { | ||||
|         newNote.detail.note_text = '' | ||||
|     } | ||||
|  | ||||
|     if (newNote.detail.is_protected) { | ||||
|         await protected_session.encryptNote(dataKey, newNote.detail); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user