mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: Wrap output style
This commit is contained in:
parent
292ed6da42
commit
3ba171a089
1 changed files with 5 additions and 2 deletions
|
|
@ -276,9 +276,12 @@ public class PythonCondaInterpreter extends Interpreter {
|
|||
public static String wrapCondaBasicOutputStyle(String title, String content) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (null != title && !title.isEmpty()) {
|
||||
sb.append("<h4>").append(title).append("</h4>\n");
|
||||
sb.append("<h4>").append(title).append("</h4>\n")
|
||||
.append("</div><br />\n");
|
||||
}
|
||||
sb.append("</div><br />\n").append(content);
|
||||
sb.append("<div style=\"white-space:pre-wrap;\">\n")
|
||||
.append(content)
|
||||
.append("</div>");
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue