We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4724a2b commit 58939a8Copy full SHA for 58939a8
backend/app/core/doctransform/service.py
@@ -89,11 +89,7 @@ def execute_job(
89
convert_document(tmp_in, tmp_out, transformer_name)
90
91
# Determine content type based on target format
92
- content_type_map = {
93
- "markdown": "text/markdown",
94
- "text": "text/plain",
95
- "html": "text/html",
96
- }
+ content_type_map = {"markdown": "text/markdown; charset=utf-8"}
97
content_type = content_type_map.get(target_format, "text/plain")
98
99
# upload transformed file and create document record
0 commit comments