Skip to content

Commit f37b513

Browse files
committed
Change MIME type of serialized dataframe
1 parent be83d45 commit f37b513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter/JupyterHtmlRenderer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ internal fun Notebook.renderAsIFrameAsNeeded(data: HtmlData, jsonEncodedDf: Stri
6262

6363
return mimeResult(
6464
"text/html" to textHtml,
65-
"application/json" to jsonEncodedDf
65+
"application/kotlindataframe+json" to jsonEncodedDf
6666
).also { it.isolatedHtml = false }
6767
}

0 commit comments

Comments
 (0)