diff --git a/src/main/java/de/prob2/jupyter/commands/ShowCommand.java b/src/main/java/de/prob2/jupyter/commands/ShowCommand.java index 3a3af354e7cfc1a5cda67cbaef7817a6a1df0cac..b294f0b704892862d79682f06be5c485870b3bc4 100644 --- a/src/main/java/de/prob2/jupyter/commands/ShowCommand.java +++ b/src/main/java/de/prob2/jupyter/commands/ShowCommand.java @@ -104,7 +104,7 @@ public final class ShowCommand implements Command { contents = ""; } else if (entry instanceof Integer) { padding = imagePadding; - contents = String.format("", entry, images.get(entry)); + contents = String.format("<img alt=\"%d\" src=\"%s\"/>", entry, images.get(entry)); } else if (entry instanceof String) { padding = stringPadding; contents = (String)entry;