From 2b0203ef54b46b8322f9a84182607f1c911c7a62 Mon Sep 17 00:00:00 2001 From: oleg Date: Mon, 15 Sep 2025 13:08:53 +0200 Subject: [PATCH] fix(Default Data Loader Node): Use text loader for text/markdown mime-types (#19549) --- packages/@n8n/nodes-langchain/utils/N8nBinaryLoader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@n8n/nodes-langchain/utils/N8nBinaryLoader.ts b/packages/@n8n/nodes-langchain/utils/N8nBinaryLoader.ts index 399f9ace41..23dbada8e5 100644 --- a/packages/@n8n/nodes-langchain/utils/N8nBinaryLoader.ts +++ b/packages/@n8n/nodes-langchain/utils/N8nBinaryLoader.ts @@ -25,7 +25,7 @@ const SUPPORTED_MIME_TYPES = { csvLoader: ['text/csv'], epubLoader: ['application/epub+zip'], docxLoader: ['application/vnd.openxmlformats-officedocument.wordprocessingml.document'], - textLoader: ['text/plain', 'text/mdx', 'text/md'], + textLoader: ['text/plain', 'text/mdx', 'text/md', 'text/markdown'], jsonLoader: ['application/json'], };