You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Api: Fixed handling of markup language
This commit is contained in:
		| @@ -487,6 +487,9 @@ class Api { | ||||
| 		if ('user_updated_time' in requestNote) output.user_updated_time = Database.formatValue(Database.TYPE_INT, requestNote.user_updated_time); | ||||
| 		if ('user_created_time' in requestNote) output.user_created_time = Database.formatValue(Database.TYPE_INT, requestNote.user_created_time); | ||||
| 		if ('is_todo' in requestNote) output.is_todo = Database.formatValue(Database.TYPE_INT, requestNote.is_todo); | ||||
| 		if ('markup_language' in requestNote) output.markup_language = Database.formatValue(Database.TYPE_INT, requestNote.markup_language); | ||||
|  | ||||
| 		if (!output.markup_language) output.markup_language = Note.MARKUP_LANGUAGE_MARKDOWN; | ||||
|  | ||||
| 		return output; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user