Skip to content

Commit

Permalink
Remove 'preview' header in preview pane. Stated the obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Apr 19, 2019
1 parent bf483bf commit 64e88ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/coley/c2h/Code2Html.java
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ private void updateHTML() {
StringBuilder sbWeb = new StringBuilder();
sbWeb.append("<html><head><style>");
sbWeb.append(style);
sbWeb.append("</style></head><body><h2 style=\"font-family: sans-serif;\">Preview</h2>");
sbWeb.append("</style></head><body>");
sbWeb.append(html);
sbWeb.append("</body></html>");
browser.getEngine().loadContent(sbWeb.toString());
Expand Down

0 comments on commit 64e88ef

Please sign in to comment.