From e74fd861df86ba842239d4231cf5b23f22bebe12 Mon Sep 17 00:00:00 2001 From: Ian Huff Date: Thu, 31 Oct 2019 15:46:01 -0700 Subject: [PATCH] fix text/html to concat --- news/2 Fixes/7873.md | 1 + src/datascience-ui/interactive-common/cellOutput.tsx | 1 + 2 files changed, 2 insertions(+) create mode 100644 news/2 Fixes/7873.md diff --git a/news/2 Fixes/7873.md b/news/2 Fixes/7873.md new file mode 100644 index 000000000000..fea20e6091bc --- /dev/null +++ b/news/2 Fixes/7873.md @@ -0,0 +1 @@ +Fix strings of commas appearing in text/html output in the notebook editor. \ No newline at end of file diff --git a/src/datascience-ui/interactive-common/cellOutput.tsx b/src/datascience-ui/interactive-common/cellOutput.tsx index 5f3450df4147..0f3314d267e6 100644 --- a/src/datascience-ui/interactive-common/cellOutput.tsx +++ b/src/datascience-ui/interactive-common/cellOutput.tsx @@ -251,6 +251,7 @@ export class CellOutput extends React.Component { switch (mimeType) { case 'text/plain': + case 'text/html': return { mimeType, data: concatMultilineStringOutput(data as nbformat.MultilineString),