From 623baf9d9d78c40b76c22d5edf140185f6dbabd4 Mon Sep 17 00:00:00 2001 From: Robin Andersson Date: Wed, 21 Feb 2024 16:44:06 +0100 Subject: [PATCH] [HWORKS-1028] New version of nbconvert breaks jupyter notebook preview (#1720) --- .../io/hops/hopsworks/common/jupyter/JupyterController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hopsworks-common/src/main/java/io/hops/hopsworks/common/jupyter/JupyterController.java b/hopsworks-common/src/main/java/io/hops/hopsworks/common/jupyter/JupyterController.java index e1aa5d73df..14684ea2d4 100644 --- a/hopsworks-common/src/main/java/io/hops/hopsworks/common/jupyter/JupyterController.java +++ b/hopsworks-common/src/main/java/io/hops/hopsworks/common/jupyter/JupyterController.java @@ -155,7 +155,7 @@ public String convertIPythonNotebook(Project project, Users user, String noteboo String stdOut = processResult.getStdout(); if(!Strings.isNullOrEmpty(stdOut) && notebookConversion.equals(NotebookConversion.HTML)) { StringBuilder renderedNotebookSB = new StringBuilder(stdOut); - int startIndex = renderedNotebookSB.indexOf(""); + int startIndex = renderedNotebookSB.indexOf("